[Commits] [SCM] claws branch, gtk3, updated. 3.16.0-956-gc07daaad4
paul at claws-mail.org
paul at claws-mail.org
Thu May 14 13:38:40 CEST 2020
The branch, gtk3 has been updated
via c07daaad4e2b037ac4df168d4f85036541dc7033 (commit)
from d9962727c2269428d2e503b0511742f2a15fdbf3 (commit)
Summary of changes:
src/imap.c | 16 ++++++----------
1 file changed, 6 insertions(+), 10 deletions(-)
- Log -----------------------------------------------------------------
commit c07daaad4e2b037ac4df168d4f85036541dc7033
Author: Paul <paul at claws-mail.org>
Date: Thu May 14 12:30:40 2020 +0100
probable fix for bug 4136 'Quick search throws bad command argument error 11 on Microsoft Exchange'
diff --git a/src/imap.c b/src/imap.c
index 3dd51740d..7e956bf24 100644
--- a/src/imap.c
+++ b/src/imap.c
@@ -1,6 +1,6 @@
/*
* Claws Mail -- a GTK+ based, lightweight, and fast e-mail client
- * Copyright (C) 1999-2019 the Claws Mail team and Hiroyuki Yamamoto
+ * Copyright (C) 1999-2020 the Claws Mail team and Hiroyuki Yamamoto
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -2498,15 +2498,11 @@ static gint search_msgs (Folder *folder,
if (result == MAILIMAP_ERROR_PROTOCOL) {
debug_print("Server side search unavailable, using local search\n");
imap_handle_error(SESSION(session), NULL, result);
- result = folder_item_search_msgs_local(folder, container, msgs, NULL, predicate, progress_cb, progress_data);
- if (result < 0) {
- debug_print("search_msgs - got protocol error, aborting\n");
- alertpanel_error_log(_("Search failed due to server error."));
- return -1;
- }
-
- return result;
- } if (result == MAILIMAP_NO_ERROR) {
+ return folder_item_search_msgs_local(folder, container, msgs, NULL,
+ predicate, progress_cb, progress_data);
+ }
+
+ if (result == MAILIMAP_NO_ERROR) {
gint result = 0;
*msgs = imap_uid_list_from_lep(uidlist, &result);
-----------------------------------------------------------------------
hooks/post-receive
--
Claws Mail
More information about the Commits
mailing list