X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/0756eb3cb50d73a77b486e47528f7cb1bffdb299..b1c749bb7f147e7f9215fe6067c848cf02938b92:/src/src/transports/autoreply.c diff --git a/src/src/transports/autoreply.c b/src/src/transports/autoreply.c index 341b7b0c0..e6a29318f 100644 --- a/src/src/transports/autoreply.c +++ b/src/src/transports/autoreply.c @@ -1,10 +1,10 @@ -/* $Cambridge: exim/src/src/transports/autoreply.c,v 1.1 2004/10/07 13:10:02 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 * *************************************************/ -/* Copyright (c) University of Cambridge 1995 - 2004 */ +/* Copyright (c) University of Cambridge 1995 - 2005 */ /* See the file NOTICE for conditions of use and distribution. */ @@ -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");