X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fafb-websock.c;fp=src%2Fafb-websock.c;h=3ad9e20dc0951618ab0a8719741ac7beb60791ab;hb=28158192742ead144454e071720d10bf5218a20b;hp=a4237cfb261e6e8de8aeac11f32e8fc8dc816a1a;hpb=5c1e761a2f84439b6e53ff1682ee665a7db2bca1;p=src%2Fapp-framework-binder.git 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)