dovecot-2.0-sslstream: doveadm: Reset getopt() after handling li...
dovecot at dovecot.org
dovecot at dovecot.org
Sat Feb 13 02:55:30 EET 2010
details: http://hg.dovecot.org/dovecot-2.0-sslstream/rev/383da67215d9
changeset: 10153:383da67215d9
user: Timo Sirainen <tss at iki.fi>
date: Thu Oct 22 21:21:05 2009 -0400
description:
doveadm: Reset getopt() after handling lib-master parameters.
diffstat:
1 file changed, 1 insertion(+)
src/doveadm/doveadm.c | 1 +
diffs (11 lines):
diff -r 508f5536a0a7 -r 383da67215d9 src/doveadm/doveadm.c
--- a/src/doveadm/doveadm.c Thu Oct 22 21:18:09 2009 -0400
+++ b/src/doveadm/doveadm.c Thu Oct 22 21:21:05 2009 -0400
@@ -94,6 +94,7 @@ int main(int argc, char *argv[])
cmd_name = argv[optind];
argc -= optind;
argv += optind;
+ optind = 0;
master_service_init_finish(master_service);
if (!doveadm_try_run(cmd_name, argc, argv) &&
More information about the dovecot-cvs
mailing list