[dovecot-cvs] dovecot/src/util dovecotpw.c,1.5,1.6

tss at dovecot.org tss at dovecot.org
Thu Dec 21 21:22:20 UTC 2006


Update of /var/lib/cvs/dovecot/src/util
In directory talvi:/tmp/cvs-serv14684

Modified Files:
	dovecotpw.c 
Log Message:
getopt() return value should be stored into int, not into char. Fixes
PowerPC Linux where char is unsigned.



Index: dovecotpw.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/util/dovecotpw.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- dovecotpw.c	18 Nov 2006 14:06:37 -0000	1.5
+++ dovecotpw.c	21 Dec 2006 21:22:17 -0000	1.6
@@ -38,8 +38,7 @@
 	const char *user = NULL;
 	char *scheme = NULL;
 	char *plaintext = NULL;
-	char ch;
-	int lflag = 0, Vflag = 0;
+	int ch, lflag = 0, Vflag = 0;
 
 	lib_init();
 	random_init();



More information about the dovecot-cvs mailing list