summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--demo-json-rpc-server.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/demo-json-rpc-server.c b/demo-json-rpc-server.c
index 47622ba..2e855bf 100644
--- a/demo-json-rpc-server.c
+++ b/demo-json-rpc-server.c
@@ -789,6 +789,7 @@ ws_handler_init (struct ws_handler *self)
ws_parser_init (&self->parser);
self->parser.on_frame_header = ws_handler_on_frame_header;
self->parser.on_frame = ws_handler_on_frame;
+ self->parser.user_data = self;
str_init (&self->message_data);
ev_timer_init (&self->ping_timer,