X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fafb-api-ws.c;h=611f887c093368a212ea3b6b6cd95ff913159c43;hb=2f7dde4aa74dfa7caba3ddcf125de4693b983c4f;hp=24ffefefdcb97b59869476ed912e2a6f12c18690;hpb=58a21f8f9465a20cba3fdfc3abaee866dafc245f;p=src%2Fapp-framework-binder.git diff --git a/src/afb-api-ws.c b/src/afb-api-ws.c index 24ffefef..611f887c 100644 --- a/src/afb-api-ws.c +++ b/src/afb-api-ws.c @@ -98,7 +98,7 @@ int afb_api_ws_add_client(const char *uri, struct afb_apiset *declare_set, struc goto error; /* connect to the service */ - apiws->fdev = afb_socket_open(apiws->uri, 0); + apiws->fdev = afb_socket_open_fdev(apiws->uri, 0); if (!apiws->fdev) goto error2; @@ -184,7 +184,7 @@ static int api_ws_server_connect(struct api_ws *apiws) api_ws_server_disconnect(apiws); /* request the service object name */ - apiws->fdev = afb_socket_open(apiws->uri, 1); + apiws->fdev = afb_socket_open_fdev(apiws->uri, 1); if (!apiws->fdev) ERROR("can't create socket %s", apiws->uri); else {