X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/c988f1f4faa9f679f79beddf3c14676c5dcb8e28..b1c749bb7f147e7f9215fe6067c848cf02938b92:/src/src/transports/autoreply.c diff --git a/src/src/transports/autoreply.c b/src/src/transports/autoreply.c index cccd82c88..e6a29318f 100644 --- a/src/src/transports/autoreply.c +++ b/src/src/transports/autoreply.c @@ -1,4 +1,4 @@ -/* $Cambridge: exim/src/src/transports/autoreply.c,v 1.2 2005/01/04 10:00:45 ph10 Exp $ */ +/* $Cambridge: exim/src/src/transports/autoreply.c,v 1.4 2005/06/16 14:10:14 ph10 Exp $ */ /************************************************* * Exim - an Internet mail transport agent * @@ -641,11 +641,11 @@ if (return_message) DELIVER_IN_BUFFER_SIZE; if (fstat(deliver_datafile, &statbuf) == 0 && statbuf.st_size > max) { - int size = statbuf.st_size; /* Because might be a long */ fprintf(f, "\n" "------ This is a copy of the message, including all the headers.\n" -"------ The body of the message is %d characters long; only the first\n" -"------ %d or so are included here.\n\n", size, (max/1000)*1000); +"------ The body of the message is " OFF_T_FMT " characters long; only the first\n" +"------ %d or so are included here.\n\n", statbuf.st_size, + (max/1000)*1000); } else fprintf(f, "\n" "------ This is a copy of the message, including all the headers. ------\n\n");