X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fafb-websock.c;h=f9c9dd018653344b1977cb619727479bcd333c0b;hb=7a31f839633c9192c98be1061792b8482f181990;hp=45c65ba7faf8cce694e1e78133c46289a0577afc;hpb=ed54e8410771ee5f13c76f968086c6aa098a750d;p=src%2Fapp-framework-binder.git diff --git a/src/afb-websock.c b/src/afb-websock.c index 45c65ba7..f9c9dd01 100644 --- a/src/afb-websock.c +++ b/src/afb-websock.c @@ -25,12 +25,11 @@ #include #include -#include "afb-ws-json.h" - #include "afb-method.h" #include "afb-context.h" #include "afb-hreq.h" #include "afb-websock.h" +#include "afb-ws-json1.h" /**************** WebSocket connection upgrade ****************************/ @@ -194,7 +193,7 @@ static int check_websocket_upgrade(struct MHD_Connection *con, const struct prot } static const struct protodef protodefs[] = { - { "x-afb-ws-json1", (void*)afb_ws_json_create }, + { "x-afb-ws-json1", (void*)afb_ws_json1_create }, { NULL, NULL } };