[dovecot-cvs] dovecot/src/login-common main.c,1.41,1.42

tss at dovecot.org tss at dovecot.org
Fri Jan 26 13:58:55 UTC 2007


Update of /var/lib/cvs/dovecot/src/login-common
In directory talvi:/tmp/cvs-serv15340/login-common

Modified Files:
	main.c 
Log Message:
Cleanups and minor fixes



Index: main.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/login-common/main.c,v
retrieving revision 1.41
retrieving revision 1.42
diff -u -d -r1.41 -r1.42
--- main.c	3 Jan 2007 23:49:26 -0000	1.41
+++ main.c	26 Jan 2007 13:58:53 -0000	1.42
@@ -351,7 +351,7 @@
 
 int main(int argc __attr_unused__, char *argv[], char *envp[])
 {
-	const char *name, *group_name;
+	const char *group_name;
 	struct ip_addr remote_ip, local_ip;
 	unsigned int remote_port, local_port;
 	struct ssl_proxy *proxy = NULL;
@@ -386,7 +386,6 @@
 		master_fd = master_connect(group_name);
 	}
 
-	name = strrchr(argv[0], '/');
 	drop_privileges();
 
 	process_title_init(argv, envp);



More information about the dovecot-cvs mailing list