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
Remove returning token
[src/app-framework-binder.git]
/
src
/
afb-session.c
diff --git
a/src/afb-session.c
b/src/afb-session.c
index
8fa4434
..
bb10c2c
100644
(file)
--- a/
src/afb-session.c
+++ b/
src/afb-session.c
@@
-540,7
+540,7
@@
int afb_session_check_token (struct afb_session *session, const char *token)
session_lock(session);
r = !session->closed
&& session->expiration >= NOW
session_lock(session);
r = !session->closed
&& session->expiration >= NOW
- && !(session->token && strcmp(token, afb_
session_token(sessio
n)));
+ && !(session->token && strcmp(token, afb_
token_string(session->toke
n)));
session_unlock(session);
return r;
}
session_unlock(session);
return r;
}
@@
-551,12
+551,6
@@
const char *afb_session_uuid (struct afb_session *session)
return session->uuid;
}
return session->uuid;
}
-/* Returns the token of 'session' */
-const char *afb_session_token (struct afb_session *session)
-{
- return afb_token_string(session->token);
-}
-
/**
* Get the index of the 'key' in the cookies array.
* @param key the key to scan
/**
* Get the index of the 'key' in the cookies array.
* @param key the key to scan