aboutsummaryrefslogtreecommitdiffstats
path: root/capplet/settings/mail-guess-servers.c
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@novell.com>2010-03-02 21:07:10 +0800
committerMatthew Barnes <mbarnes@redhat.com>2010-03-14 09:52:51 +0800
commit4e88bfd6c1c8345014d5badcffd999f02cb41d0b (patch)
treee76b6dfb29aa4a950898b7a347f9c6495325c5b0 /capplet/settings/mail-guess-servers.c
parent10d962d6120df324978200bc60fffd98ef41d49f (diff)
downloadgsoc2013-evolution-4e88bfd6c1c8345014d5badcffd999f02cb41d0b.tar
gsoc2013-evolution-4e88bfd6c1c8345014d5badcffd999f02cb41d0b.tar.gz
gsoc2013-evolution-4e88bfd6c1c8345014d5badcffd999f02cb41d0b.tar.bz2
gsoc2013-evolution-4e88bfd6c1c8345014d5badcffd999f02cb41d0b.tar.lz
gsoc2013-evolution-4e88bfd6c1c8345014d5badcffd999f02cb41d0b.tar.xz
gsoc2013-evolution-4e88bfd6c1c8345014d5badcffd999f02cb41d0b.tar.zst
gsoc2013-evolution-4e88bfd6c1c8345014d5badcffd999f02cb41d0b.zip
warning cleanup
Diffstat (limited to 'capplet/settings/mail-guess-servers.c')
-rw-r--r--capplet/settings/mail-guess-servers.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/capplet/settings/mail-guess-servers.c b/capplet/settings/mail-guess-servers.c
index 26fc630f16..ef656bf8a3 100644
--- a/capplet/settings/mail-guess-servers.c
+++ b/capplet/settings/mail-guess-servers.c
@@ -70,7 +70,7 @@ xml_to_gchar (xmlChar *xml, EmailProvider *provider)
if (!*sec_part)
sec_part = "";
- gxml = g_strdup_printf("%s%s%s", gxml ? gxml: xml, repl, sec_part);
+ gxml = g_strdup_printf("%s%s%s", gxml ? gxml : (char *)xml, repl, sec_part);
tmp = strstr (gxml, "\%EMAIL");
if(tmp) {
goto decodepart;
@@ -213,7 +213,8 @@ parse_msg (SoupMessage *msg, EmailProvider *provider)
gboolean
mail_guess_servers(EmailProvider *provider)
{
- const char *cafile = NULL, *url;
+ const char *cafile = NULL;
+ char *url;
SoupURI *proxy = NULL, *parsed;
int opt;
SoupMessage *msg;