Code Review
/
src
/
app-framework-binder.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
96ee1e3
)
afb-context: Early token change
author
José Bollo
<jose.bollo@iot.bzh>
Thu, 15 Feb 2018 15:50:31 +0000
(16:50 +0100)
committer
José Bollo
<jose.bollo@iot.bzh>
Thu, 15 Feb 2018 16:23:33 +0000
(17:23 +0100)
Change-Id: If27d84a702513b92f08c97ef91bf8cf89b5af238
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
src/afb-context.c
patch
|
blob
|
history
diff --git
a/src/afb-context.c
b/src/afb-context.c
index
c2649a4
..
3c0b82c
100644
(file)
--- a/
src/afb-context.c
+++ b/
src/afb-context.c
@@
-148,6
+148,10
@@
void afb_context_refresh(struct afb_context *context)
else {
assert(context->validated);
context->refreshing = 1;
+ if (!context->refreshed) {
+ afb_session_new_token (context->session);
+ context->refreshed = 1;
+ }
}
}