[dovecot-cvs] dovecot/src/imap-login client.c,1.23,1.24

cras at procontrol.fi cras at procontrol.fi
Tue May 25 01:35:57 EEST 2004


Update of /home/cvs/dovecot/src/imap-login
In directory talvi:/tmp/cvs-serv15968/imap-login

Modified Files:
	client.c 
Log Message:
cleanup: str_*case(t_strdup_noconst(str)) -> t_str_*case(str)



Index: client.c
===================================================================
RCS file: /home/cvs/dovecot/src/imap-login/client.c,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -d -r1.23 -r1.24
--- a/client.c	17 May 2004 01:32:17 -0000	1.23
+++ b/client.c	24 May 2004 22:35:55 -0000	1.24
@@ -168,7 +168,7 @@
 static int client_command_execute(struct imap_client *client, const char *cmd,
 				  struct imap_arg *args)
 {
-	cmd = str_ucase(t_strdup_noconst(cmd));
+	cmd = t_str_ucase(cmd);
 	if (strcmp(cmd, "LOGIN") == 0)
 		return cmd_login(client, args);
 	if (strcmp(cmd, "AUTHENTICATE") == 0)



More information about the dovecot-cvs mailing list