diff options
author | José Bollo <jose.bollo@iot.bzh> | 2017-11-06 15:33:21 +0100 |
---|---|---|
committer | José Bollo <jose.bollo@iot.bzh> | 2017-11-06 15:33:21 +0100 |
commit | d35293b1f03edc446900dcdcce941c83178271d7 (patch) | |
tree | 8ec5b10dda7714f7304c39d9972835144db75b3d | |
parent | 31075cdfdc15bb7474e96051d7f19135227f3e15 (diff) |
afb-session: remove unused access time
Change-Id: I1e8ca2adfec5bf7df5a7da02e6d093ae099ec9a3
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
-rw-r--r-- | src/afb-session.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/afb-session.c b/src/afb-session.c index 734e0b24..68de6723 100644 --- a/src/afb-session.c +++ b/src/afb-session.c @@ -49,7 +49,6 @@ struct afb_session unsigned refcount; int timeout; time_t expiration; // expiration time of the token - time_t access; pthread_mutex_t mutex; char uuid[37]; // long term authentication of remote client char token[37]; // short term authentication of remote client @@ -279,7 +278,6 @@ static struct afb_session *make_session (const char *uuid, int timeout, time_t n goto error2; } - session->access = now; session->refcount = 1; return session; @@ -331,7 +329,6 @@ struct afb_session *afb_session_get (const char *uuid, int timeout, int *created if (session != NULL) { if (created) *created = 0; - session->access = now; session->refcount++; return session; } |