[evolution-ews] Correct indentation in e_book_backend_ews_get_contact_list()
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-ews] Correct indentation in e_book_backend_ews_get_contact_list()
- Date: Thu, 4 Feb 2016 09:26:18 +0000 (UTC)
commit 4a57db4ae5260422191e9de8db23a0c64f244053
Author: Milan Crha <mcrha redhat com>
Date: Thu Feb 4 10:25:53 2016 +0100
Correct indentation in e_book_backend_ews_get_contact_list()
src/addressbook/e-book-backend-ews.c | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/src/addressbook/e-book-backend-ews.c b/src/addressbook/e-book-backend-ews.c
index 927f7c5..c63234b 100644
--- a/src/addressbook/e-book-backend-ews.c
+++ b/src/addressbook/e-book-backend-ews.c
@@ -1972,10 +1972,11 @@ e_book_backend_ews_get_contact_list (EBookBackend *backend,
g_slist_free (list);
g_slist_free_full (vcard_list, g_free);
- return;
- } else
+ } else {
e_data_book_respond_get_contact_list (book, opid, EDB_ERROR (OFFLINE_UNAVAILABLE),
vcard_list);
- return;
+ }
+
+ return;
}
if (!book_backend_ews_ensure_connected (ebews, cancellable, &error)) {
@@ -2026,10 +2027,9 @@ e_book_backend_ews_get_contact_list (EBookBackend *backend,
e_ews_folder_id_free (fid);
g_slist_free_full (vcard_list, g_free);
- return;
- } else
+ } else {
e_data_book_respond_get_contact_list (book, opid, EDB_ERROR_EX (OTHER_ERROR, _("Wait till
syncing is done")), vcard_list);
- return;
+ }
}
typedef struct {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]