From 5db48e38c70ea6169fd74f45eda1850bee69f963 Mon Sep 17 00:00:00 2001 From: mdodd Date: Tue, 14 Jan 2003 22:23:32 +0000 Subject: This patch corrects the printing of DCC transfer stats. Approved by: MAINTAINER --- irc/epic4/Makefile | 2 +- irc/epic4/files/patch-dcc.c | 11 +++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 irc/epic4/files/patch-dcc.c (limited to 'irc/epic4') diff --git a/irc/epic4/Makefile b/irc/epic4/Makefile index 7a8b846..75354db 100644 --- a/irc/epic4/Makefile +++ b/irc/epic4/Makefile @@ -8,7 +8,7 @@ PORTNAME= epic4 PORTVERSION= 1.0.1 # Make these variables overridable for slave ports -PORTREVISION?= 1 +PORTREVISION?= 2 CATEGORIES?= irc ipv6 MASTER_SITES= ftp://ftp.epicsol.org/pub/epic/%SUBDIR%/ \ ftp://ftp.magenet.com/pub/epic/%SUBDIR%/ \ diff --git a/irc/epic4/files/patch-dcc.c b/irc/epic4/files/patch-dcc.c new file mode 100644 index 0000000..bb58818 --- /dev/null +++ b/irc/epic4/files/patch-dcc.c @@ -0,0 +1,11 @@ +--- source/dcc.c.orig Mon May 6 03:36:21 2002 ++++ source/dcc.c Mon May 6 03:36:44 2002 +@@ -1366,7 +1366,7 @@ + /* + * Figure out something sane for the xfer speed. + */ +- if (Client->bytes_sent) ++ if (act_sent) + { + strlcpy(speed, calc_speed(act_sent, + Client->starttime.tv_sec, time(NULL)), 9); -- cgit v1.1