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



commit c6400235d373b65e6d87255ae9cbc6cfccf33367
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 01ef1b3..b4b2ae5 100644
--- a/src/goabackend/goaewsclient.c
+++ b/src/goabackend/goaewsclient.c
@@ -309,9 +309,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]