diff src/pop3/main.c @ 10120:b584904d3bc7 HEAD

Moved process title init to lib-master. With Linux-hack enabled it now preserves command args.
author Timo Sirainen <tss@iki.fi>
date Tue, 20 Oct 2009 20:19:05 -0400
parents 1e63221f5c83
children d1384c2b08e5
line wrap: on
line diff
--- a/src/pop3/main.c	Tue Oct 20 20:07:45 2009 -0400
+++ b/src/pop3/main.c	Tue Oct 20 20:19:05 2009 -0400
@@ -7,7 +7,6 @@
 #include "ostream.h"
 #include "base64.h"
 #include "restrict-access.h"
-#include "process-title.h"
 #include "master-service.h"
 #include "master-login.h"
 #include "master-interface.h"
@@ -161,7 +160,7 @@
 	}
 }
 
-int main(int argc, char *argv[], char *envp[])
+int main(int argc, char *argv[])
 {
 	enum master_service_flags service_flags = 0;
 
@@ -181,10 +180,9 @@
 	}
 
 	master_service = master_service_init("pop3", service_flags,
-					     argc, argv, NULL);
+					     &argc, &argv, NULL);
 	if (master_getopt(master_service) > 0)
 		return FATAL_DEFAULT;
-        process_title_init(argv, envp);
 	master_service_init_finish(master_service);
 
 	if (IS_STANDALONE()) {