git://git.exim.org
/
users
/
jgh
/
exim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Bugs in temporary error message handling for smtp in lmtp mode.
[users/jgh/exim.git]
/
src
/
src
/
ip.c
diff --git
a/src/src/ip.c
b/src/src/ip.c
index 062a600b666e74114fcc9f67927d960050f46ebb..0e4eab6503b4ad3f6ab9076597f562020f96d817 100644
(file)
--- a/
src/src/ip.c
+++ b/
src/src/ip.c
@@
-1,4
+1,4
@@
-/* $Cambridge: exim/src/src/ip.c,v 1.
4 2006/02/07 11:19:00
ph10 Exp $ */
+/* $Cambridge: exim/src/src/ip.c,v 1.
5 2006/02/16 10:05:33
ph10 Exp $ */
/*************************************************
* Exim - an Internet mail transport agent *
/*************************************************
* Exim - an Internet mail transport agent *
@@
-224,17
+224,11
@@
alarm(0);
/* There is a testing facility for simulating a connection timeout, as I
can't think of any other way of doing this. It converts a connection refused
/* There is a testing facility for simulating a connection timeout, as I
can't think of any other way of doing this. It converts a connection refused
-into a timeout.
-
-I had to add a second fudge to keep the tests working. Attempts to connect to
-10.x.x.x are expected to timeout, but sometimes they now give "No route to
-host". */
+into a timeout if the timeout is set to 999999. */
if (running_in_test_harness)
{
if (running_in_test_harness)
{
- if ((save_errno == ECONNREFUSED && timeout == 999999) ||
- (save_errno == EHOSTUNREACH && timeout > 0 &&
- Ustrncmp(address, "10.", 3) == 0))
+ if (save_errno == ECONNREFUSED && timeout == 999999)
{
rc = -1;
save_errno = EINTR;
{
rc = -1;
save_errno = EINTR;