[evolution-activesync] Fix build



commit a7099030eb7e11adfd47eb79156f58fc275da76d
Author: Simo Sorce <simo redhat com>
Date:   Thu Sep 17 15:28:13 2015 -0400

    Fix build

 libeasaccount/src/eas-account.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libeasaccount/src/eas-account.c b/libeasaccount/src/eas-account.c
index 2e914c9..ee238bc 100644
--- a/libeasaccount/src/eas-account.c
+++ b/libeasaccount/src/eas-account.c
@@ -569,7 +569,7 @@ eas_account_set_from_info(EasAccount *account, const EasAccountInfo* accountinfo
        if (accountinfo->device_id && accountinfo->device_id[0])
                eas_account_set_device_id (account, accountinfo->device_id);
        eas_account_set_protocol_version (account, accountinfo->protocol_version);
-       if (accountinfo->server_protocols && accountinfo->server_protocols[0])
+       if (accountinfo->server_protocols && accountinfo->server_protocols)
                eas_account_set_server_protocols (account, accountinfo->server_protocols);
        g_debug("eas_account_set_from_info--"); 
        return TRUE;


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