aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mail/mail-session.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mail/mail-session.c b/mail/mail-session.c
index 5e52aad86c..8714823f7a 100644
--- a/mail/mail-session.c
+++ b/mail/mail-session.c
@@ -846,7 +846,7 @@ set_socks_proxy_from_gconf (void)
client = mail_config_get_gconf_client ();
mode = gconf_client_get_string (client, MODE_PROXY, NULL);
- if (!strcmp(mode, "manual")) {
+ if (!g_strcmp0(mode, "manual")) {
host = gconf_client_get_string (client, KEY_SOCKS_HOST, NULL); /* NULL-GError */
port = gconf_client_get_int (client, KEY_SOCKS_PORT, NULL); /* NULL-GError */
camel_session_set_socks_proxy (session, host, port);