X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/ddaf34e7b7fe02cbbb99a6bf515eb4298d6b2d4b..4e871f9b28dff4cacfd012aede1d092cc8cfbd36:/src/src/receive.c diff --git a/src/src/receive.c b/src/src/receive.c index 4271561d7..14038f2ec 100644 --- a/src/src/receive.c +++ b/src/src/receive.c @@ -1156,7 +1156,7 @@ Returns: the SMTP response */ static uschar * -handle_lost_connection(uschar *s) +handle_lost_connection(uschar * s) { log_write(L_lost_incoming_connection | L_smtp_connection, LOG_MAIN, "%s lost while reading message data%s", smtp_get_connection_info(), s); @@ -1379,6 +1379,8 @@ if (f.tcp_in_fastopen && !f.tcp_in_fastopen_logged) } if (sender_ident) g = string_append(g, 2, US" U=", sender_ident); +if (LOGGING(connection_id)) + g = string_fmt_append(g, " Ci=%lu", connection_id); if (received_protocol) g = string_append(g, 2, US" P=", received_protocol); if (LOGGING(pipelining) && f.smtp_in_pipelining_advertised)