diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2003-04-09 04:20:04 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2003-04-09 04:20:04 +0800 |
commit | e73f740c72d9b19134bc91c4bb1d55a39664fe8b (patch) | |
tree | bd0b61bb88f21cdfeca36a9a460757d83551c2dd /camel/providers | |
parent | 55c6c41bd4d0f485344963fac72a62c181e91af6 (diff) | |
download | gsoc2013-evolution-e73f740c72d9b19134bc91c4bb1d55a39664fe8b.tar.gz gsoc2013-evolution-e73f740c72d9b19134bc91c4bb1d55a39664fe8b.tar.zst gsoc2013-evolution-e73f740c72d9b19134bc91c4bb1d55a39664fe8b.zip |
Make sure host->h_name is not an empty string too? Apparently for one user
2003-04-08 Jeffrey Stedfast <fejj@ximian.com>
* providers/smtp/camel-smtp-transport.c (smtp_helo): Make sure
host->h_name is not an empty string too? Apparently for one user
his resolved hostname is "". Go figure. Probably a broken system,
but easy enough to work around.
svn path=/trunk/; revision=20768
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 |