[evolution-ews] Fix non-portable ?: construct



commit 8cdffc0418675455129b3a82af568e934ee5e617
Author: David Woodhouse <David Woodhouse intel com>
Date:   Mon Jul 15 15:14:32 2013 +0100

    Fix non-portable ?: construct

 src/camel/camel-ews-store.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/camel/camel-ews-store.c b/src/camel/camel-ews-store.c
index cbbcf8a..4af2c5e 100644
--- a/src/camel/camel-ews-store.c
+++ b/src/camel/camel-ews-store.c
@@ -655,8 +655,8 @@ ews_connect_sync (CamelService *service,
         * to make sure we have valid credentials available. */
        auth_mech = camel_network_settings_dup_auth_mechanism (
                                       CAMEL_NETWORK_SETTINGS (settings));
-       success = camel_session_authenticate_sync (
-                  session, service, auth_mech?:"NTLM", cancellable, error);
+       success = camel_session_authenticate_sync (session, service,
+                          auth_mech ? auth_mech :"NTLM", cancellable, error);
 
        g_free (auth_mech);
        g_object_unref (settings);


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