* Working on async
authorArt Cancro <ajc@citadel.org>
Thu, 25 Feb 2010 05:56:07 +0000 (05:56 +0000)
committerArt Cancro <ajc@citadel.org>
Thu, 25 Feb 2010 05:56:07 +0000 (05:56 +0000)
citadel/context.c

index 6c6a20453c214e7d5dad07d10923a5f35c75c24e..ffe87a09a966ae668b200cd8cb9c4c75d2f8d316 100644 (file)
@@ -593,7 +593,7 @@ void set_async_waiting(struct CitContext *ccptr)
 {
        CtdlLogPrintf(CTDL_DEBUG, "Setting async_waiting flag for session %d\n", ccptr->cs_pid);
        if (ccptr->is_async) {
-               ccptr->async_waiting = 1;
+               ccptr->async_waiting++;
                if (ccptr->state == CON_IDLE) {
                        ccptr->state = CON_READY;
                }