diff options
Diffstat (limited to 'camel/providers')
-rw-r--r-- | camel/providers/smtp/camel-smtp-transport.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/camel/providers/smtp/camel-smtp-transport.c b/camel/providers/smtp/camel-smtp-transport.c index 86caa635dc..9aaf4ded96 100644 --- a/camel/providers/smtp/camel-smtp-transport.c +++ b/camel/providers/smtp/camel-smtp-transport.c @@ -889,7 +889,7 @@ smtp_helo (CamelSmtpTransport *transport, CamelException *ex) camel_exception_clear (&err); - if (host && host->h_name) { + if (host && host->h_name && *host->h_name) { name = g_strdup (host->h_name); } else { #ifdef ENABLE_IPv6 |