* check for syscall.h
[citadel.git] / citadel / modules / smtp / serv_smtp.c
index 6bbe6471889c84e42f71f78d084602f0f8f049da..7d1e26f49df302ed3d87319bdf61b491c9202e58 100644 (file)
@@ -1743,9 +1743,8 @@ void *smtp_do_queue(void *arg) {
        struct CitContext smtp_queue_CC;
 
        CtdlFillSystemContext(&smtp_queue_CC, "SMTP Send");
-       CtdlLogPrintf(CTDL_INFO, "SMTP client: processing outbound queue\n");
-
        citthread_setspecific(MyConKey, (void *)&smtp_queue_CC );
+       CtdlLogPrintf(CTDL_INFO, "SMTP client: processing outbound queue\n");
 
        if (CtdlGetRoom(&CC->room, SMTP_SPOOLOUT_ROOM) != 0) {
                CtdlLogPrintf(CTDL_ERR, "Cannot find room <%s>\n", SMTP_SPOOLOUT_ROOM);