[evolution-data-server] Bug 767786 - Use socks:// scheme for Camel accounts proxy lookup
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-data-server] Bug 767786 - Use socks:// scheme for Camel accounts proxy lookup
- Date: Mon, 20 Jun 2016 15:46:16 +0000 (UTC)
commit 199db4274edbe953fb1b654be3b1af1471d9e7bf
Author: Milan Crha <mcrha redhat com>
Date: Mon Jun 20 17:45:37 2016 +0200
Bug 767786 - Use socks:// scheme for Camel accounts proxy lookup
camel/camel-network-service.c | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/camel/camel-network-service.c b/camel/camel-network-service.c
index c2f6001..e2800b9 100644
--- a/camel/camel-network-service.c
+++ b/camel/camel-network-service.c
@@ -675,7 +675,12 @@ network_service_new_connectable (CamelNetworkService *service)
port = camel_network_settings_get_port (network_settings);
if (host && *host)
- connectable = g_network_address_new (host, port);
+ connectable = g_object_new (G_TYPE_NETWORK_ADDRESS,
+ "scheme", "socks",
+ "hostname", host,
+ "port", port,
+ NULL);
+
g_free (host);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]