summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorDmitry Ilyin <dima@doty.ru>2022-10-12 14:13:44 +0300
committerDmitry Ilyin <dima@doty.ru>2022-10-12 14:13:44 +0300
commitc2ecb4acb52c9f9b2e77af86a38a9b36ee7d51e6 (patch)
tree245ad1367f36a41a745527f608c57cdd080006ec /test
parent8f47d8de281b877450474734594fdc0a60ee35d1 (diff)
downloadlibevent-c2ecb4acb52c9f9b2e77af86a38a9b36ee7d51e6.tar.gz
Add locks for server WS, fixes #1357
Diffstat (limited to 'test')
-rw-r--r--test/regress_ws.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/regress_ws.c b/test/regress_ws.c
index 06c3f5f0..29850be8 100644
--- a/test/regress_ws.c
+++ b/test/regress_ws.c
@@ -115,7 +115,7 @@ http_on_ws_cb(struct evhttp_request *req, void *arg)
struct evws_connection *evws;
const char *hello = "Server: hello";
- evws = evws_new_session(req, on_ws_msg_cb, (void *)0xDEADBEEF);
+ evws = evws_new_session(req, on_ws_msg_cb, (void *)0xDEADBEEF, 0);
if (!evws)
return;
test_ok++;