diff options
author | José Bollo <jose.bollo@iot.bzh> | 2016-04-05 19:27:33 +0200 |
---|---|---|
committer | José Bollo <jose.bollo@iot.bzh> | 2016-04-05 19:27:33 +0200 |
commit | 87d2ff17b84459e785c7820563bb0172849810c4 (patch) | |
tree | 105912729a383cdb096d218feaee334a42067aee /src/afb-hsrv.c | |
parent | 21974dca8364f3d267dd912e92521f6252dddf02 (diff) |
implementation of websockets
Change-Id: I663e750f27a6e54a771df84320bd45ee0acdcbde
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Diffstat (limited to 'src/afb-hsrv.c')
-rw-r--r-- | src/afb-hsrv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/afb-hsrv.c b/src/afb-hsrv.c index 2c294399..64cea9d5 100644 --- a/src/afb-hsrv.c +++ b/src/afb-hsrv.c @@ -151,7 +151,7 @@ static int afb_hreq_websocket_switch(struct afb_hreq *hreq, void *data) return 0; if (!later) { - struct afb_websock *ws = afb_websock_create(hreq->connection); + struct afb_websock *ws = afb_websock_create(hreq); if (ws == NULL) { /* TODO */ } else { |