summaryrefslogtreecommitdiff
path: root/ftp/proftpd/files/patch-ai
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2002-10-20 20:51:22 +0000
committerKris Kennaway <kris@FreeBSD.org>2002-10-20 20:51:22 +0000
commit078576068c4dfbf342dff5ed2a6167dca63d2050 (patch)
tree90e46b0b3606fab7312d93233e7761ff83860191 /ftp/proftpd/files/patch-ai
parentSet CONFIG_SHELL in env so always use /bin/sh. This way results are (diff)
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.
Diffstat (limited to '')
-rw-r--r--ftp/proftpd/files/patch-ai11
1 files changed, 11 insertions, 0 deletions
diff --git a/ftp/proftpd/files/patch-ai b/ftp/proftpd/files/patch-ai
new file mode 100644
index 000000000000..418c0c058178
--- /dev/null
+++ b/ftp/proftpd/files/patch-ai
@@ -0,0 +1,11 @@
+--- 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);
+ }
+