projects
/
citadel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3384f5c
)
* just anounce "new context" if we create a non static context
author
Wilfried Göesgens
<willi@citadel.org>
Thu, 10 Dec 2009 22:16:58 +0000
(22:16 +0000)
committer
Wilfried Göesgens
<willi@citadel.org>
Thu, 10 Dec 2009 22:16:58 +0000
(22:16 +0000)
webcit/context_loop.c
patch
|
blob
|
history
diff --git
a/webcit/context_loop.c
b/webcit/context_loop.c
index e0577d7eb4585aa4b720a69d08135aba51c6dc03..aca0cd47a14874b17d674691335490fc51a46bcf 100644
(file)
--- a/
webcit/context_loop.c
+++ b/
webcit/context_loop.c
@@
-180,7
+180,8
@@
wcsession *FindSession(wcsession **wclist, ParsedHttpHdrs *Hdr, pthread_mutex_t
wcsession *CreateSession(int Lockable, int Static, wcsession **wclist, ParsedHttpHdrs *Hdr, pthread_mutex_t *ListMutex)
{
wcsession *TheSession;
- lprintf(3, "Creating a new session\n");
+ if (!Static)
+ lprintf(3, "Creating a new session\n");
TheSession = (wcsession *) malloc(sizeof(wcsession));
memset(TheSession, 0, sizeof(wcsession));
TheSession->Hdr = Hdr;