* Shut off hostname resolution when dealing with Unix domain sockets
[citadel.git] / citadel / serv_smtp.c
index cda7c3d711a401aaac578881b9b1d7dcdcf5d8d9..b9457afe171e61c83f769afd60186c4f0b996e85 100644 (file)
@@ -1426,7 +1426,7 @@ char *Dynamic_Module_Init(void)
        SYM_SMTP = CtdlGetDynamicSymbol();
        SYM_SMTP_RECP = CtdlGetDynamicSymbol();
 
-       CtdlRegisterServiceHook(SMTP_PORT,              /* On the net... */
+       CtdlRegisterServiceHook(config.c_smtp_port,     /* On the net... */
                                NULL,
                                smtp_greeting,
                                smtp_command_loop);