X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fafb-websock.c;h=abdcfa1d149ce3dc8d0e848e86dfd3776d690fb6;hb=6797f9722dd3e5463e0f7c118397955bb59a40c7;hp=8fbf22c236fc5b7f0355ce0a668ac2c43f455f73;hpb=20ea5089d0e5526afaa5231f30add7b25b2499bd;p=src%2Fapp-framework-binder.git diff --git a/src/afb-websock.c b/src/afb-websock.c index 8fbf22c2..abdcfa1d 100644 --- a/src/afb-websock.c +++ b/src/afb-websock.c @@ -212,7 +212,7 @@ int afb_websock_check_upgrade(struct afb_hreq *hreq) return 0; ws = NULL; - rc = check_websocket_upgrade(hreq->connection, protodefs, &hreq->context, &ws); + rc = check_websocket_upgrade(hreq->connection, protodefs, &hreq->xreq.context, &ws); if (rc == 1) { hreq->replied = 1; if (ws != NULL)