aboutsummaryrefslogtreecommitdiffstats
path: root/src/afb-api-ws.c
diff options
context:
space:
mode:
authorJosé Bollo <jose.bollo@iot.bzh>2017-01-03 17:52:19 +0100
committerJosé Bollo <jose.bollo@iot.bzh>2017-01-03 18:23:22 +0100
commita758d774aa5dacc07d2840f1b7ccef793863389f (patch)
treed98b01b793475c265e8365c2eabfdcd35e6cf089 /src/afb-api-ws.c
parent91f3e6ecdada77d57c8d92a955776fd8fe6d402e (diff)
Improves naming of session's module
Make names looking like other names Change-Id: I63ce3d8a3d84193eca9d517cecb1888d630a9b2d Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Diffstat (limited to 'src/afb-api-ws.c')
-rw-r--r--src/afb-api-ws.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/afb-api-ws.c b/src/afb-api-ws.c
index cb7b4f58..4d1f08c8 100644
--- a/src/afb-api-ws.c
+++ b/src/afb-api-ws.c
@@ -37,7 +37,7 @@
#include "afb-common.h"
-#include "session.h"
+#include "afb-session.h"
#include "afb-ws.h"
#include "afb-msg-json.h"
#include "afb-apis.h"
@@ -827,7 +827,7 @@ static void api_ws_client_call_cb(void * closure, struct afb_req req, struct afb
if (!api_ws_write_uint32(&wb, memo->msgid)
|| !api_ws_write_uint32(&wb, (uint32_t)context->flags)
|| !api_ws_write_string_nz(&wb, verb, lenverb)
- || !api_ws_write_string(&wb, ctxClientGetUuid(context->session))
+ || !api_ws_write_string(&wb, afb_session_uuid(context->session))
|| !api_ws_write_string_length(&wb, raw, szraw))
goto overflow;