dovecot-1.2: master: "Unknown argument" error printed always the...

dovecot at dovecot.org dovecot at dovecot.org
Tue Apr 21 23:37:00 EEST 2009


details:   http://hg.dovecot.org/dovecot-1.2/rev/59a3130bd4ed
changeset: 8977:59a3130bd4ed
user:      Timo Sirainen <tss at iki.fi>
date:      Tue Apr 21 16:36:52 2009 -0400
description:
master: "Unknown argument" error printed always the first argument instead of the unknown one.

diffstat:

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

diffs (12 lines):

diff -r 3d9c9b16f000 -r 59a3130bd4ed src/master/main.c
--- a/src/master/main.c	Tue Apr 21 13:34:26 2009 -0400
+++ b/src/master/main.c	Tue Apr 21 16:36:52 2009 -0400
@@ -521,7 +521,7 @@ int main(int argc, char *argv[])
 			foreground = TRUE;
 		} else {
 			print_help();
-			i_fatal("Unknown argument: %s", argv[1]);
+			i_fatal("Unknown argument: %s", argv[i]);
 		}
 	}
 


More information about the dovecot-cvs mailing list