aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPřemysl Eric Janouch <p@janouch.name>2020-10-13 04:46:08 +0200
committerPřemysl Eric Janouch <p@janouch.name>2020-10-13 04:46:08 +0200
commit0771c142fe8257aac22db7c02ca473b5fb4b13a1 (patch)
treeff4cbf41c6e4ed1f6ffac36da338bd4a76c3efda
parent742632a93167a4712cb68f3c462c5b3463db3d84 (diff)
downloadjson-rpc-shell-0771c142fe8257aac22db7c02ca473b5fb4b13a1.tar.gz
json-rpc-shell-0771c142fe8257aac22db7c02ca473b5fb4b13a1.tar.xz
json-rpc-shell-0771c142fe8257aac22db7c02ca473b5fb4b13a1.zip
json-rpc-test-server: fix reading the request URI
-rw-r--r--json-rpc-test-server.c2
1 files changed, 1 insertions, 1 deletions
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;
}