Mercurial > dovecot > original-hg > dovecot-1.2
diff src/imap/client.c @ 769:f17a1f59ac3f HEAD
Fixed "Missing arguments" error msg to work again
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Mon, 09 Dec 2002 17:29:15 +0200 |
parents | 8b3518bb327e |
children | 5ac361acb316 |
line wrap: on
line diff
--- a/src/imap/client.c Mon Dec 09 17:25:20 2002 +0200 +++ b/src/imap/client.c Mon Dec 09 17:29:15 2002 +0200 @@ -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; } }