[dovecot-cvs] dovecot/src/imap client.c,1.15,1.16

cras at procontrol.fi cras at procontrol.fi
Mon Dec 9 17:29:17 EET 2002


Update of /home/cvs/dovecot/src/imap
In directory danu:/tmp/cvs-serv16869

Modified Files:
	client.c 
Log Message:
Fixed "Missing arguments" error msg to work again



Index: client.c
===================================================================
RCS file: /home/cvs/dovecot/src/imap/client.c,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -d -r1.15 -r1.16
--- client.c	9 Dec 2002 15:25:20 -0000	1.15
+++ client.c	9 Dec 2002 15:29:15 -0000	1.16
@@ -176,7 +176,8 @@
 		return FALSE;
 	} else {
 		/* error, or missing arguments */
-		client_send_command_error(client, NULL);
+		client_send_command_error(client, ret < 0 ? NULL :
+					  "Missing arguments");
 		return FALSE;
 	}
 }




More information about the dovecot-cvs mailing list