freebsd-ports/ftp/proftpd-devel/files/patch-ai
Kris Kennaway 078576068c Fix build on -current (don't try and guess about the definition of
__size_t), and fix a format string with two many arguments while I'm here.
2002-10-20 20:51:22 +00:00

11 lines
375 B
Text

--- contrib/mod_ratio.c.orig Sun Oct 20 13:49:21 2002
+++ contrib/mod_ratio.c Sun Oct 20 13:50:11 2002
@@ -606,7 +606,7 @@
add_response(R_214,
"Bytes: %s Down: %imb Up: %imb CR: %i Mbytes",
stats.btext, (stats.bretr / 1024), (stats.bstor / 1024),
- (stats.bytes / 1024), stats.bytes);
+ (stats.bytes / 1024));
return HANDLED(cmd);
}