[evolution-ews] Bug #712304 - Crash in the notification code



commit 6c36d29a4ffdd13a1b264c01b0fd613dc8377cd5
Author: Fabiano Fidêncio <fidencio redhat com>
Date:   Thu Nov 14 16:03:23 2013 +0100

    Bug #712304 - Crash in the notification code

 src/server/e-ews-notification.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/server/e-ews-notification.c b/src/server/e-ews-notification.c
index e399480..b424fb1 100644
--- a/src/server/e-ews-notification.c
+++ b/src/server/e-ews-notification.c
@@ -442,7 +442,7 @@ ews_notification_soup_got_chunk (SoupMessage *msg,
                chunk_str = (gchar *) notification->priv->chunk->data;
                chunk_len = notification->priv->chunk->len;
 
-               if (chunk_len > 0) {
+               if (chunk_len == 0) {
                        g_byte_array_free (notification->priv->chunk, TRUE);
                        notification->priv->chunk = NULL;
                        keep_parsing = FALSE;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]