git://git.exim.org
/
exim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
TLS version reporting. fixes: #745
[exim.git]
/
src
/
src
/
host.c
diff --git
a/src/src/host.c
b/src/src/host.c
index b353fe2db4fd10f32daedda95145cd6ec5d4ef6a..18821035c5e73a7cd268b3f1e307d3b5530a3c80 100644
(file)
--- a/
src/src/host.c
+++ b/
src/src/host.c
@@
-1,4
+1,4
@@
-/* $Cambridge: exim/src/src/host.c,v 1.2
8 2007/01/08 10:50:18 ph10
Exp $ */
+/* $Cambridge: exim/src/src/host.c,v 1.2
9 2007/10/18 12:01:00 nm4
Exp $ */
/*************************************************
* Exim - an Internet mail transport agent *
/*************************************************
* Exim - an Internet mail transport agent *
@@
-1502,7
+1502,7
@@
if (hosts == NULL)
treat this as non-existent. In some operating systems, this is returned as an
empty string; in others as a single dot. */
treat this as non-existent. In some operating systems, this is returned as an
empty string; in others as a single dot. */
-if (hosts->h_name[0] == 0 || hosts->h_name[0] == '.')
+if (hosts->h_name
== NULL || hosts->h_name
[0] == 0 || hosts->h_name[0] == '.')
{
HDEBUG(D_host_lookup) debug_printf("IP address lookup yielded an empty name: "
"treated as non-existent host name\n");
{
HDEBUG(D_host_lookup) debug_printf("IP address lookup yielded an empty name: "
"treated as non-existent host name\n");