[evolution-data-server] imapx_untagged_fetch: Replace assertion with runtime-warning.
- From: Matthew Barnes <mbarnes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-data-server] imapx_untagged_fetch: Replace assertion with runtime-warning.
- Date: Tue, 12 Mar 2013 14:55:07 +0000 (UTC)
commit 5c498a63bed8b6253c00f3d7edeab7077ad31e33
Author: Matthew Barnes <mbarnes redhat com>
Date: Tue Mar 12 10:53:55 2013 -0400
imapx_untagged_fetch: Replace assertion with runtime-warning.
Temporary Band-Aid until we can figure out why some users are hitting
this assertion. Libraries should never abort programs on their own.
camel/camel-imapx-server.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/camel/camel-imapx-server.c b/camel/camel-imapx-server.c
index 095ee9a..6d0893f 100644
--- a/camel/camel-imapx-server.c
+++ b/camel/camel-imapx-server.c
@@ -1952,8 +1952,7 @@ imapx_untagged_fetch (CamelIMAPXServer *is,
} while (!found && min <= max);
- if (!found)
- g_assert_not_reached ();
+ g_return_val_if_fail (found, FALSE);
server_flags = r->server_flags;
server_user_flags = r->server_user_flags;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]