[gnome-online-accounts/gnome-3-6] ewsclient: Always set the op_res when completing the operation



commit 229a82872b4c5399c1d3793c46ba5d3e19e1a8ee
Author: Debarshi Ray <debarshir gnome org>
Date:   Wed Dec 5 15:28:34 2012 +0100

    ewsclient: Always set the op_res when completing the operation
    
    Fixes: https://bugzilla.gnome.org/689642

 src/goabackend/goaewsclient.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/src/goabackend/goaewsclient.c b/src/goabackend/goaewsclient.c
index 699f778..49ef041 100644
--- a/src/goabackend/goaewsclient.c
+++ b/src/goabackend/goaewsclient.c
@@ -323,9 +323,8 @@ ews_client_autodiscover_response_cb (SoupSession *session, SoupMessage *msg, gpo
       if (error != NULL)
         g_simple_async_result_set_from_error (data->res, error);
     }
-  else
-    g_simple_async_result_set_op_res_gboolean (data->res, op_res);
 
+  g_simple_async_result_set_op_res_gboolean (data->res, op_res);
   g_simple_async_result_complete_in_idle (data->res);
   ews_client_autodiscover_data_free (data);
 }


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