From: Wilfried Göesgens Date: Thu, 10 Dec 2009 22:16:58 +0000 (+0000) Subject: * just anounce "new context" if we create a non static context X-Git-Tag: v7.86~573 X-Git-Url: https://code.citadel.org/?p=citadel.git;a=commitdiff_plain;h=23302efc1e4ab70bc5eca5efc35a2a6bd42e9403 * just anounce "new context" if we create a non static context --- diff --git a/webcit/context_loop.c b/webcit/context_loop.c index e0577d7eb..aca0cd47a 100644 --- 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;