diff options
Diffstat (limited to 'src/afb-websock.c')
-rw-r--r-- | src/afb-websock.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/afb-websock.c b/src/afb-websock.c index a4237cfb..3ad9e20d 100644 --- a/src/afb-websock.c +++ b/src/afb-websock.c @@ -208,7 +208,7 @@ int afb_websock_check_upgrade(struct afb_hreq *hreq) return 0; ws = NULL; - rc = check_websocket_upgrade(hreq->connection, protodefs, hreq->context.session, &ws); + rc = check_websocket_upgrade(hreq->connection, protodefs, &hreq->context, &ws); if (rc == 1) { hreq->replied = 1; if (ws != NULL) |