]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
imap: Unknown SEARCH charset should return NO, not BAD
authorTimo Sirainen <timo.sirainen@open-xchange.com>
Fri, 13 Mar 2020 09:30:01 +0000 (11:30 +0200)
committertimo.sirainen <timo.sirainen@open-xchange.com>
Mon, 16 Mar 2020 12:06:04 +0000 (12:06 +0000)
src/imap/imap-search-args.c

index eb506d904a42c8ec36f31e25ed8166309b70feb2..c288c553f65e5121815b95a8a61094418f4b2fbc 100644 (file)
@@ -56,7 +56,7 @@ int imap_search_args_build(struct client_command_context *cmd,
        if (ret < 0) {
                if (charset == NULL) {
                        client_send_tagline(cmd, t_strconcat(
-                               "BAD [BADCHARSET] ", client_error, NULL));
+                               "NO [BADCHARSET] ", client_error, NULL));
                } else {
                        client_send_command_error(cmd, client_error);
                }