projects
/
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
/
rda.c
diff --git
a/src/src/rda.c
b/src/src/rda.c
index 311f173945f951c69ed7a98d9449174be919a42e..8f972ca4ec4bc64e9002658f6fc61d81d6da8d2a 100644
(file)
--- a/
src/src/rda.c
+++ b/
src/src/rda.c
@@
-1,4
+1,4
@@
-/* $Cambridge: exim/src/src/rda.c,v 1.
5 2005/04/06 14:40:24
ph10 Exp $ */
+/* $Cambridge: exim/src/src/rda.c,v 1.
6 2005/06/07 15:20:56
ph10 Exp $ */
/*************************************************
* Exim - an Internet mail transport agent *
/*************************************************
* Exim - an Internet mail transport agent *
@@
-299,14
+299,8
@@
if (fread(filebuf, 1, statbuf.st_size, fwd) != statbuf.st_size)
}
filebuf[statbuf.st_size] = 0;
}
filebuf[statbuf.st_size] = 0;
-/* Don't pass statbuf.st_size directly to debug_printf. On some systems it
-is a long, which may not be the same as an int. */
-
DEBUG(D_route)
DEBUG(D_route)
- {
- int size = (int)statbuf.st_size;
- debug_printf("%d bytes read from %s\n", size, filename);
- }
+ debug_printf("%.30g bytes read from %s\n", (double)statbuf.st_size, filename);
fclose(fwd);
return filebuf;
fclose(fwd);
return filebuf;