aboutsummaryrefslogtreecommitdiffstats
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:40:36 +0800
commit37965cf2cf59f9c741e1c8ae1001b2bf0ea407e0 (patch)
tree4c96025b465110cd9f4e891d7c12a2ca0c9bce06
parentd0ed242a2483fe56dbbd50c42059fd23327d8c49 (diff)
downloadgsoc2013-evolution-37965cf2cf59f9c741e1c8ae1001b2bf0ea407e0.tar.gz
gsoc2013-evolution-37965cf2cf59f9c741e1c8ae1001b2bf0ea407e0.tar.zst
gsoc2013-evolution-37965cf2cf59f9c741e1c8ae1001b2bf0ea407e0.zip
Bug 704558 - Crash when using -fstack-protector-strong
Same issue as in bug 703991, just in a different place.
-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;