dovecot-2.0-sslstream: doveadm: Fixed resetting getopt() for non...

dovecot at dovecot.org dovecot at dovecot.org
Sat Feb 13 02:55:34 EET 2010


details:   http://hg.dovecot.org/dovecot-2.0-sslstream/rev/56274bd4693c
changeset: 10168:56274bd4693c
user:      Timo Sirainen <tss at iki.fi>
date:      Fri Oct 23 13:47:10 2009 -0400
description:
doveadm: Fixed resetting getopt() for non-glibc.

diffstat:

1 file changed, 1 insertion(+), 1 deletion(-)
src/doveadm/doveadm.c |    2 +-

diffs (12 lines):

diff -r c316e7198ae3 -r 56274bd4693c src/doveadm/doveadm.c
--- a/src/doveadm/doveadm.c	Fri Oct 23 13:58:26 2009 +0000
+++ b/src/doveadm/doveadm.c	Fri Oct 23 13:47:10 2009 -0400
@@ -94,7 +94,7 @@ int main(int argc, char *argv[])
 	cmd_name = argv[optind];
 	argc -= optind;
 	argv += optind;
-	optind = 0;
+	optind = 1;
 
 	master_service_init_finish(master_service);
 	if (!doveadm_try_run(cmd_name, argc, argv) &&


More information about the dovecot-cvs mailing list