* The scheduler can now "wake up" a session to deliver async messages.
[citadel.git] / citadel / serv_smtp.c
index 7946661c4cf4ea22ac579f2d12d186687945955b..840cbf1b2304ce70c713dce0db7b672747c136fe 100644 (file)
@@ -1614,12 +1614,14 @@ char *serv_smtp_init(void)
        CtdlRegisterServiceHook(config.c_smtp_port,     /* On the net... */
                                NULL,
                                smtp_greeting,
-                               smtp_command_loop);
+                               smtp_command_loop,
+                               NULL);
 
        CtdlRegisterServiceHook(0,                      /* ...and locally */
                                "lmtp.socket",
                                lmtp_greeting,
-                               smtp_command_loop);
+                               smtp_command_loop,
+                               NULL);
 
        smtp_init_spoolout();
        CtdlRegisterSessionHook(smtp_do_queue, EVT_TIMER);