diff options
author | José Bollo <jose.bollo@iot.bzh> | 2017-11-06 15:31:34 +0100 |
---|---|---|
committer | José Bollo <jose.bollo@iot.bzh> | 2017-11-06 15:31:34 +0100 |
commit | 31075cdfdc15bb7474e96051d7f19135227f3e15 (patch) | |
tree | 27a4ee90a9cadae23d6af4f17f762a1680b640e2 /src/afb-context.c | |
parent | 541756a5f6af26338add0b1ac7a1c0c3bb518b80 (diff) |
afb-session: Add timeout features for sessions
Change-Id: I0aa8a82c0bbf709aa380ef7e5efe2e4ebaf454c0
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Diffstat (limited to 'src/afb-context.c')
-rw-r--r-- | src/afb-context.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/afb-context.c b/src/afb-context.c index 759ee90e..c2649a48 100644 --- a/src/afb-context.c +++ b/src/afb-context.c @@ -63,7 +63,7 @@ int afb_context_connect(struct afb_context *context, const char *uuid, const cha int created; struct afb_session *session; - session = afb_session_get (uuid, &created); + session = afb_session_get (uuid, AFB_SESSION_TIMEOUT_DEFAULT, &created); if (session == NULL) return -1; init_context(context, session, token); |