[dovecot-cvs] dovecot/src/util dovecotpw.c,1.3,1.3.2.1

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


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

Modified Files:
      Tag: branch_1_0
	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.3
retrieving revision 1.3.2.1
diff -u -d -r1.3 -r1.3.2.1
--- dovecotpw.c	19 Dec 2004 05:49:26 -0000	1.3
+++ dovecotpw.c	21 Dec 2006 21:22:15 -0000	1.3.2.1
@@ -40,8 +40,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