diff options
author | Přemysl Eric Janouch <p@janouch.name> | 2020-10-13 04:46:08 +0200 |
---|---|---|
committer | Přemysl Eric Janouch <p@janouch.name> | 2020-10-13 04:46:08 +0200 |
commit | 0771c142fe8257aac22db7c02ca473b5fb4b13a1 (patch) | |
tree | ff4cbf41c6e4ed1f6ffac36da338bd4a76c3efda | |
parent | 742632a93167a4712cb68f3c462c5b3463db3d84 (diff) | |
download | json-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.c | 2 |
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; } |