aboutsummaryrefslogtreecommitdiffstats
path: root/e-util
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2013-07-20 21:39:38 +0800
committerMatthew Barnes <mbarnes@redhat.com>2013-07-20 21:41:52 +0800
commitbdf71f5898fd79f16f56f16d55322f31dc58cf6e (patch)
tree0d7c5f57c73967a136b38efb4a8f8d0d59796ae6 /e-util
parent1fb3bda9b954e2c442808d42ef6a004c2ad3f134 (diff)
downloadgsoc2013-evolution-bdf71f5898fd79f16f56f16d55322f31dc58cf6e.tar
gsoc2013-evolution-bdf71f5898fd79f16f56f16d55322f31dc58cf6e.tar.gz
gsoc2013-evolution-bdf71f5898fd79f16f56f16d55322f31dc58cf6e.tar.bz2
gsoc2013-evolution-bdf71f5898fd79f16f56f16d55322f31dc58cf6e.tar.lz
gsoc2013-evolution-bdf71f5898fd79f16f56f16d55322f31dc58cf6e.tar.xz
gsoc2013-evolution-bdf71f5898fd79f16f56f16d55322f31dc58cf6e.tar.zst
gsoc2013-evolution-bdf71f5898fd79f16f56f16d55322f31dc58cf6e.zip
Bug 704558 - Crash when using -fstack-protector-strong
Same issue as in bug 703991, just in a different place. (cherry picked from commit 37965cf2cf59f9c741e1c8ae1001b2bf0ea407e0)
Diffstat (limited to 'e-util')
-rw-r--r--e-util/e-source-config.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/e-util/e-source-config.c b/e-util/e-source-config.c
index 3d9303abd9..6a4f2ddf93 100644
--- a/e-util/e-source-config.c
+++ b/e-util/e-source-config.c
@@ -1342,7 +1342,9 @@ secure_to_port_cb (GBinding *binding,
guint16 port;
authentication_extension = g_binding_get_target (binding);
- g_object_get (authentication_extension, "port", &port, NULL);
+
+ port = e_source_authentication_get_port (
+ E_SOURCE_AUTHENTICATION (authentication_extension));
if (port == 80 || port == 443 || port == 0)
port = g_value_get_boolean (source_value) ? 443 : 80;