diff options
Diffstat (limited to 'mail/em-account-editor.c')
-rw-r--r-- | mail/em-account-editor.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mail/em-account-editor.c b/mail/em-account-editor.c index 1b66eef5d2..8aeb86a99c 100644 --- a/mail/em-account-editor.c +++ b/mail/em-account-editor.c @@ -936,7 +936,8 @@ emae_url_set_hostport(CamelURL *url, const char *txt) { const char *port; char *host; - + + /* FIXME: what if this was a raw IPv6 address? */ if (txt && (port = strchr(txt, ':'))) { camel_url_set_port(url, atoi(port+1)); host = g_alloca(port-txt+1); |