diff options
author | Milan Crha <mcrha@redhat.com> | 2008-06-13 14:07:50 +0800 |
---|---|---|
committer | Milan Crha <mcrha@src.gnome.org> | 2008-06-13 14:07:50 +0800 |
commit | 80981519d87c50cf1e41c0ec66dc1272d5624ec4 (patch) | |
tree | a3c4b29f27bd22af3926098dd6381c85a7a37473 /mail/em-account-editor.c | |
parent | 3abeb193be2320aa1694e8ca1e1dba8eef91b4b9 (diff) | |
download | gsoc2013-evolution-80981519d87c50cf1e41c0ec66dc1272d5624ec4.tar.gz 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/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); |