diff options
Diffstat (limited to 'mail/em-account-editor.c')
-rw-r--r-- | mail/em-account-editor.c | 1 |
1 files changed, 1 insertions, 0 deletions
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); |