[librest] build: Fix previous commit



commit b97a024809085398c85c409e32a7fb99fda11354
Author: Colin Walters <walters verbum org>
Date:   Wed Aug 22 08:16:35 2012 -0400

    build: Fix previous commit
    
    Need to use #ifdef here, not #if.

 rest/rest-proxy.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/rest/rest-proxy.c b/rest/rest-proxy.c
index b96a0dc..caff4c8 100644
--- a/rest/rest-proxy.c
+++ b/rest/rest-proxy.c
@@ -391,7 +391,7 @@ rest_proxy_init (RestProxy *self)
   priv->session = soup_session_async_new ();
   priv->session_sync = soup_session_sync_new ();
 
-#if REST_SYSTEM_CA_FILE
+#ifdef REST_SYSTEM_CA_FILE
   /* with ssl-strict (defaults TRUE) setting ssl-ca-file forces all
    * certificates to be trusted */
   g_object_set (priv->session,



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