[evolution-rss] Fix compilation without libsoup-gnome
- From: Lucian Langa <lucilanga src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-rss] Fix compilation without libsoup-gnome
- Date: Sun, 30 Oct 2011 23:15:25 +0000 (UTC)
commit cd49f53ceab9d98ee797bee3a5b012ad80e87794
Author: Robin Stocker <robin nibor org>
Date: Fri Oct 28 13:53:51 2011 +0200
Fix compilation without libsoup-gnome
This adds a missing #ifdef HAVE_LIBSOUP_GNOME, otherwise it won't
compile without libsoup-gnome.
src/rss-evo-common.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/rss-evo-common.c b/src/rss-evo-common.c
index def1c41..13036ef 100644
--- a/src/rss-evo-common.c
+++ b/src/rss-evo-common.c
@@ -242,7 +242,9 @@ rss_ep_need_proxy_http (EProxy* proxy, const gchar * host, SoupAddress *addr)
if (rss_ep_is_in_ignored (proxy, host))
return FALSE;
+#ifdef HAVE_LIBSOUP_GNOME
so_addr = soup_address_get_sockaddr (addr, &addr_len);
+#endif
if (!so_addr)
return TRUE;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]