diff options
author | Matthew N. Dodd <mdodd@FreeBSD.org> | 2003-01-14 22:23:32 +0000 |
---|---|---|
committer | Matthew N. Dodd <mdodd@FreeBSD.org> | 2003-01-14 22:23:32 +0000 |
commit | 6a8ee6053b2ea067f6e750597b5c5141a94fb2cf (patch) | |
tree | e377a7dfdf7a93196a4f0a9db2f7b8d9b30ea640 /irc | |
parent | Fix build on CURRENT (diff) |
This patch corrects the printing of DCC transfer stats.
Approved by: MAINTAINER
Notes
Notes:
svn path=/head/; revision=73146
Diffstat (limited to 'irc')
-rw-r--r-- | irc/epic4/Makefile | 2 | ||||
-rw-r--r-- | irc/epic4/files/patch-dcc.c | 11 | ||||
-rw-r--r-- | irc/epic5/Makefile | 2 | ||||
-rw-r--r-- | irc/epic5/files/patch-dcc.c | 11 |
4 files changed, 24 insertions, 2 deletions
diff --git a/irc/epic4/Makefile b/irc/epic4/Makefile index 7a8b8460113a..75354db5f32f 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 000000000000..bb588180d6b7 --- /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); diff --git a/irc/epic5/Makefile b/irc/epic5/Makefile index 7a8b8460113a..75354db5f32f 100644 --- a/irc/epic5/Makefile +++ b/irc/epic5/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/epic5/files/patch-dcc.c b/irc/epic5/files/patch-dcc.c new file mode 100644 index 000000000000..bb588180d6b7 --- /dev/null +++ b/irc/epic5/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); |