Get rid of remaining tabs and replace them with spaces.
[srvx.git] / src / main-win32.c
index ddf83801a94392e7bb6ea16278966b29aa4b9103..657f991330abadc7abfac4de1dd863df41c70d7a 100644 (file)
@@ -4,7 +4,7 @@
 #include "ioset.h"
 #include "modcmd.h"
 #include "saxdb.h"
-#include "sendmail.h"
+#include "mail.h"
 #include "timeq.h"
 
 #include "chanserv.h"
@@ -24,8 +24,8 @@ int APIENTRY WinMain(HINSTANCE hInst, HINSTANCE hPrevInst, LPSTR lpCmdLine, int
     log_module(MAIN_LOG, LOG_INFO, "Initializing daemon...");
 
     if (!conf_read(services_config)) {
-       log_module(MAIN_LOG, LOG_FATAL, "Unable to read %s.", services_config);
-       exit(0);
+        log_module(MAIN_LOG, LOG_FATAL, "Unable to read %s.", services_config);
+        exit(0);
     }
 
     boot_time = time(&now);
@@ -41,7 +41,7 @@ int APIENTRY WinMain(HINSTANCE hInst, HINSTANCE hPrevInst, LPSTR lpCmdLine, int
     modcmd_init();
     saxdb_init();
     gline_init();
-    sendmail_init();
+    mail_init();
     helpfile_init();
     conf_globals();
     conf_rlimits();