git://git.exim.org
/
users
/
jgh
/
exim.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
00f00ca
)
Fix what I broke when adding the 127.0.0.2 test-harness feature.
author
Philip Hazel
<ph10@hermes.cam.ac.uk>
Thu, 13 Jan 2005 16:22:42 +0000
(16:22 +0000)
committer
Philip Hazel
<ph10@hermes.cam.ac.uk>
Thu, 13 Jan 2005 16:22:42 +0000
(16:22 +0000)
src/src/smtp_in.c
patch
|
blob
|
history
diff --git
a/src/src/smtp_in.c
b/src/src/smtp_in.c
index 063d74a9691a502a88a644409da308ce210e480d..62cf4b28f2e769053f586a04b2b64f90c6c90045 100644
(file)
--- a/
src/src/smtp_in.c
+++ b/
src/src/smtp_in.c
@@
-1,4
+1,4
@@
-/* $Cambridge: exim/src/src/smtp_in.c,v 1.
9 2005/01/13 16:15:53
ph10 Exp $ */
+/* $Cambridge: exim/src/src/smtp_in.c,v 1.
10 2005/01/13 16:22:42
ph10 Exp $ */
/*************************************************
* Exim - an Internet mail transport agent *
/*************************************************
* Exim - an Internet mail transport agent *
@@
-1125,7
+1125,9
@@
uschar *p, *s, *ss;
127.0.0.2 (sic), have a short delay. This makes it possible to test handling of
input sent too soon (before the banner is output). */
127.0.0.2 (sic), have a short delay. This makes it possible to test handling of
input sent too soon (before the banner is output). */
-if (running_in_test_harness && Ustrcmp(sender_host_address, "127.0.0.2") == 0)
+if (running_in_test_harness &&
+ sender_host_address != NULL &&
+ Ustrcmp(sender_host_address, "127.0.0.2") == 0)
sleep(1);
/* Default values for certain variables */
sleep(1);
/* Default values for certain variables */