Code Review
/
src
/
app-framework-binder.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
afb-socket: Improvement
[src/app-framework-binder.git]
/
src
/
afb-api-ws.c
diff --git
a/src/afb-api-ws.c
b/src/afb-api-ws.c
index
24ffefe
..
611f887
100644
(file)
--- 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 */
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;
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 */
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 {
if (!apiws->fdev)
ERROR("can't create socket %s", apiws->uri);
else {