aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2008-06-13 14:07:50 +0800
committerMilan Crha <mcrha@src.gnome.org>2008-06-13 14:07:50 +0800
commit80981519d87c50cf1e41c0ec66dc1272d5624ec4 (patch)
treea3c4b29f27bd22af3926098dd6381c85a7a37473 /mail
parent3abeb193be2320aa1694e8ca1e1dba8eef91b4b9 (diff)
downloadgsoc2013-evolution-80981519d87c50cf1e41c0ec66dc1272d5624ec4.tar
gsoc2013-evolution-80981519d87c50cf1e41c0ec66dc1272d5624ec4.tar.gz
gsoc2013-evolution-80981519d87c50cf1e41c0ec66dc1272d5624ec4.tar.bz2
gsoc2013-evolution-80981519d87c50cf1e41c0ec66dc1272d5624ec4.tar.lz
gsoc2013-evolution-80981519d87c50cf1e41c0ec66dc1272d5624ec4.tar.xz
gsoc2013-evolution-80981519d87c50cf1e41c0ec66dc1272d5624ec4.tar.zst
gsoc2013-evolution-80981519d87c50cf1e41c0ec66dc1272d5624ec4.zip
** Fix for bug #314467
2008-06-13 Milan Crha <mcrha@redhat.com> ** Fix for bug #314467 * em-account-editor.c: (emae_url_set_hostport): Reset port when setting host name without it. svn path=/trunk/; revision=35629
Diffstat (limited to 'mail')
-rw-r--r--mail/ChangeLog7
-rw-r--r--mail/em-account-editor.c1
2 files changed, 8 insertions, 0 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index 88ebea6dc9..499a36c4b8 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,3 +1,10 @@
+2008-06-13 Milan Crha <mcrha@redhat.com>
+
+ ** Fix for bug #314467
+
+ * em-account-editor.c: (emae_url_set_hostport):
+ Reset port when setting host name without it.
+
2008-06-09 Milan Crha <mcrha@redhat.com>
** Fix for bug #535791
diff --git a/mail/em-account-editor.c b/mail/em-account-editor.c
index 4a5a8cf592..3c6e28527b 100644
--- a/mail/em-account-editor.c
+++ b/mail/em-account-editor.c
@@ -1015,6 +1015,7 @@ emae_url_set_hostport(CamelURL *url, const char *txt)
/* "" is converted to NULL, but if we set NULL on the url,
camel_url_to_string strips lots of details */
host = g_strdup((txt?txt:""));
+ camel_url_set_port (url, 0);
}
g_strstrip(host);