X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/dcdf4e3e2e614d612f7d4d884c856c7b67caf5e3..f1e05cc79778c693a1a2bad478ced44791922cce:/src/src/transport.c diff --git a/src/src/transport.c b/src/src/transport.c index e68a24dcb..0557318d0 100644 --- a/src/src/transport.c +++ b/src/src/transport.c @@ -1,5 +1,3 @@ -/* $Cambridge: exim/src/src/transport.c,v 1.26 2009/12/15 08:23:15 tom Exp $ */ - /************************************************* * Exim - an Internet mail transport agent * *************************************************/ @@ -324,7 +322,7 @@ Returns: the yield of transport_write_block() */ BOOL -transport_write_string(int fd, char *format, ...) +transport_write_string(int fd, const char *format, ...) { va_list ap; va_start(ap, format); @@ -426,6 +424,7 @@ for (ptr = start; ptr < end; ptr++) if (use_crlf) *chunk_ptr++ = '\r'; *chunk_ptr++ = '\n'; + transport_newlines++; /* The check_string test (formerly "from hack") replaces the specific string at the start of a line with an escape string (e.g. "From " becomes