From 80981519d87c50cf1e41c0ec66dc1272d5624ec4 Mon Sep 17 00:00:00 2001 From: Milan Crha Date: Fri, 13 Jun 2008 06:07:50 +0000 Subject: ** Fix for bug #314467 2008-06-13 Milan Crha ** 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 --- mail/em-account-editor.c | 1 + 1 file changed, 1 insertion(+) (limited to 'mail/em-account-editor.c') 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); -- cgit