]> code.citadel.org Git - citadel.git/blobdiff - citadel/modules/smtp/serv_smtpclient.c
Reset run_queue_now back to 0 after a forced run of the SMTP queue.
[citadel.git] / citadel / modules / smtp / serv_smtpclient.c
index 1a906bfd66faf3a1f511784c5c9862a9e8a3f0a5..e18ebd0243c3655529c9a837cfd916893b67dd42 100644 (file)
@@ -962,6 +962,7 @@ void smtp_do_queue(void) {
                num_processed = CtdlForEachMessage(MSGS_ALL, 0L, NULL, SPOOLMIME, NULL, smtp_do_procmsg, NULL);
        }
        syslog(LOG_INFO, "SMTP client: queue run completed; %d messages processed", num_processed);
+       run_queue_now = 0;
        is_running = 0;
 }