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
session: moves initialisation to main
[src/app-framework-binder.git]
/
src
/
session.c
diff --git
a/src/session.c
b/src/session.c
index
9d03d0a
..
3b9288f
100644
(file)
--- a/
src/session.c
+++ b/
src/session.c
@@
-343,7
+343,7
@@
PUBLIC void ctxStoreInit (int nbSession) {
// let's create as store as hashtable does not have any
sessions.store = calloc (1 + (unsigned)nbSession, sizeof(AFB_clientCtx));
- sessions.max
=
nbSession;
+ sessions.max
=
nbSession;
}
STATIC AFB_clientCtx *ctxStoreSearch (const char* uuid) {