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
Avoid modifying global errno when raising event
[exim.git]
/
src
/
src
/
verify.c
diff --git
a/src/src/verify.c
b/src/src/verify.c
index c182e12e1cd3fc593eb9ea766e1602a841ee74e1..6478a9e7e94072eeca52348cf7695c650ac86859 100644
(file)
--- a/
src/src/verify.c
+++ b/
src/src/verify.c
@@
-815,7
+815,7
@@
tls_retry_connection:
sx->cctx.sock = -1;
#ifndef DISABLE_EVENT
(void) event_raise(addr->transport->event_action,
sx->cctx.sock = -1;
#ifndef DISABLE_EVENT
(void) event_raise(addr->transport->event_action,
- US"tcp:close", NULL);
+ US"tcp:close", NULL
, NULL
);
#endif
addr->address = main_address;
addr->transport_return = PENDING_DEFER;
#endif
addr->address = main_address;
addr->transport_return = PENDING_DEFER;
@@
-1127,7
+1127,7
@@
no_conn:
(void)close(sx->cctx.sock);
sx->cctx.sock = -1;
#ifndef DISABLE_EVENT
(void)close(sx->cctx.sock);
sx->cctx.sock = -1;
#ifndef DISABLE_EVENT
- (void) event_raise(addr->transport->event_action, US"tcp:close", NULL);
+ (void) event_raise(addr->transport->event_action, US"tcp:close", NULL
, NULL
);
#endif
}
}
#endif
}
}