tidying
[exim.git] / src / src / smtp_out.c
index 9547c4b81667d7a0221d5ac1c48d10a4d5028acc..608a781eb7fbca5ccb82833267a5f8626ebec0b4 100644 (file)
@@ -283,7 +283,7 @@ const blob * fastopen_blob = NULL;
 #ifndef DISABLE_EVENT
 deliver_host_address = host->address;
 deliver_host_port = port;
-if (event_raise(tb->event_action, US"tcp:connect", NULL)) return -1;
+if (event_raise(tb->event_action, US"tcp:connect", NULL, &errno)) return -1;
 #endif
 
 if ((sock = ip_socket(SOCK_STREAM, host_af)) < 0) return -1;