diff options
author | 2016-05-18 11:35:12 +0200 | |
---|---|---|
committer | 2016-05-18 11:35:12 +0200 | |
commit | 28158192742ead144454e071720d10bf5218a20b (patch) | |
tree | a9c91782a7f730f23ad643274802f73e292482cd /src/afb-websock.c | |
parent | 5c1e761a2f84439b6e53ff1682ee665a7db2bca1 (diff) |
propagate context creation to websocket
Change-Id: I9ff53f5920d6134030f3e1d63c46f4a30a5e1968
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
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) |