dovecot-2.0-pigeonhole: managesieve: Fixed giving any -parameter...

pigeonhole at rename-it.nl pigeonhole at rename-it.nl
Mon Nov 22 18:03:34 EET 2010


details:   http://hg.rename-it.nl/dovecot-2.0-pigeonhole/rev/ccbc805eb8cd
changeset: 1446:ccbc805eb8cd
user:      Stephan Bosch <stephan at rename-it.nl>
date:      Mon Nov 22 17:03:28 2010 +0100
description:
managesieve: Fixed giving any -parameters (analogoues to Dovecot fix).

diffstat:

 src/managesieve/main.c |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (13 lines):

diff -r c2a76570d736 -r ccbc805eb8cd src/managesieve/main.c
--- a/src/managesieve/main.c	Tue Nov 16 22:09:02 2010 +0100
+++ b/src/managesieve/main.c	Mon Nov 22 17:03:28 2010 +0100
@@ -259,7 +259,8 @@
 			return FATAL_DEFAULT;
 		}
 	}
-	postlogin_socket_path = argv[1] == NULL ? NULL : t_abspath(argv[1]);
+	postlogin_socket_path = argv[optind] == NULL ? NULL :
+		t_abspath(argv[optind]);
 
 	master_service_init_finish(master_service);
 	master_service_set_die_callback(master_service, managesieve_die);


More information about the dovecot-cvs mailing list