[evolution-ews/gnome-3-8] Fix non-portable ?: construct



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

    Fix non-portable ?: construct
    
    (cherry picked from commit 8cdffc0418675455129b3a82af568e934ee5e617)

 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 38d4e5b..08817d5 100644
--- a/src/camel/camel-ews-store.c
+++ b/src/camel/camel-ews-store.c
@@ -518,8 +518,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]