From 0771c142fe8257aac22db7c02ca473b5fb4b13a1 Mon Sep 17 00:00:00 2001 From: Přemysl Eric Janouch
Date: Tue, 13 Oct 2020 04:46:08 +0200 Subject: json-rpc-test-server: fix reading the request URI --- json-rpc-test-server.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/json-rpc-test-server.c b/json-rpc-test-server.c index 7a76807..36256d4 100644 --- a/json-rpc-test-server.c +++ b/json-rpc-test-server.c @@ -1014,7 +1014,7 @@ static int ws_handler_on_url (http_parser *parser, const char *at, size_t len) { struct ws_handler *self = parser->data; - str_append_data (&self->value, at, len); + str_append_data (&self->url, at, len); return 0; } -- cgit v1.2.3-70-g09d2