[evolution-ews] Check correctly for error in a valid free busy response
- From: Or Goshen <ogosh src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-ews] Check correctly for error in a valid free busy response
- Date: Tue, 2 Aug 2011 09:55:24 +0000 (UTC)
commit 83a2e4e4636e44f23ed4c2e16d497e8d2b7c74a4
Author: Or Goshen <orx goshen intel com>
Date: Tue Aug 2 13:12:14 2011 +0300
Check correctly for error in a valid free busy response
src/server/e-ews-connection.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/server/e-ews-connection.c b/src/server/e-ews-connection.c
index 08c8382..64e2784 100644
--- a/src/server/e-ews-connection.c
+++ b/src/server/e-ews-connection.c
@@ -438,7 +438,7 @@ ews_response_cb (SoupSession *session, SoupMessage *msg, gpointer data)
}
if ((strcmp((char *)subparam->name, "FreeBusyResponse") == 0 && !ews_get_response_status (e_soap_parameter_get_first_child (subparam), &error)) ||
- !ews_get_response_status (subparam, &error)) {
+ (strcmp((char *)subparam->name, "FreeBusyResponse") && !ews_get_response_status (subparam, &error))) {
g_simple_async_result_set_from_error (enode->simple, error);
break;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]