[dovecot-cvs] dovecot/src/imap-login client-authenticate.c, 1.25, 1.26

cras at dovecot.org cras at dovecot.org
Wed Sep 15 16:20:19 EEST 2004


Update of /var/lib/cvs/dovecot/src/imap-login
In directory talvi:/tmp/cvs-serv22488/imap-login

Modified Files:
	client-authenticate.c 
Log Message:
Compiler warning fixes and cleanups



Index: client-authenticate.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/imap-login/client-authenticate.c,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -d -r1.25 -r1.26
--- client-authenticate.c	2 Sep 2004 19:18:15 -0000	1.25
+++ client-authenticate.c	15 Sep 2004 13:20:16 -0000	1.26
@@ -265,8 +265,7 @@
 	linelen = strlen(line);
 	buf = buffer_create_static_hard(pool_datastack_create(), linelen);
 
-	if (base64_decode((const unsigned char *) line, linelen,
-			  NULL, buf) <= 0) {
+	if (base64_decode(line, linelen, NULL, buf) <= 0) {
 		/* failed */
 		client_auth_abort(client, "Invalid base64 data");
 	} else if (client->common.auth_request == NULL) {



More information about the dovecot-cvs mailing list