git://git.exim.org
/
exim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Upgrade appendfile so that it is capable of handling quotas that are
[exim.git]
/
src
/
src
/
deliver.c
diff --git
a/src/src/deliver.c
b/src/src/deliver.c
index d9bf21a4c3fd68fddbcc6107c081448f61e9b4e0..cc10c65c1141887615ca1a3d2acdf4e8f475065e 100644
(file)
--- a/
src/src/deliver.c
+++ b/
src/src/deliver.c
@@
-1,4
+1,4
@@
-/* $Cambridge: exim/src/src/deliver.c,v 1.1
5 2005/05/24 08:15:02 tom
Exp $ */
+/* $Cambridge: exim/src/src/deliver.c,v 1.1
6 2005/06/07 15:20:56 ph10
Exp $ */
/*************************************************
* Exim - an Internet mail transport agent *
/*************************************************
* Exim - an Internet mail transport agent *
@@
-4482,11
+4482,8
@@
if ((rc = spool_read_header(spoolname, TRUE, TRUE)) != spool_read_OK)
sprintf(CS big_buffer, "%s/input/%s/%s", spool_directory, message_subdir,
spoolname);
if (Ustat(big_buffer, &statbuf) == 0)
sprintf(CS big_buffer, "%s/input/%s/%s", spool_directory, message_subdir,
spoolname);
if (Ustat(big_buffer, &statbuf) == 0)
- {
- int size = statbuf.st_size; /* Because might be a long */
- log_write(0, LOG_MAIN, "Format error in spool file %s: size=%d",
- spoolname, size);
- }
+ log_write(0, LOG_MAIN, "Format error in spool file %s: size=%.30g",
+ spoolname, (double)statbuf.st_size);
else log_write(0, LOG_MAIN, "Format error in spool file %s", spoolname);
}
else
else log_write(0, LOG_MAIN, "Format error in spool file %s", spoolname);
}
else
@@
-6343,8
+6340,8
@@
wording. */
if (emf_text != NULL) fprintf(f, "%s", CS emf_text); else
{
fprintf(f,
if (emf_text != NULL) fprintf(f, "%s", CS emf_text); else
{
fprintf(f,
-"------ The body of the message is %
d
characters long; only the first\n"
-"------ %d or so are included here.\n", (
int
)statbuf.st_size, max);
+"------ The body of the message is %
.30g
characters long; only the first\n"
+"------ %d or so are included here.\n", (
double
)statbuf.st_size, max);
}
}
}
}
}
}