mirror of
https://git.FreeBSD.org/ports.git
synced 2025-02-02 11:09:29 +00:00
This patch corrects the printing of DCC transfer stats.
Approved by: MAINTAINER
This commit is contained in:
parent
fbaefa9057
commit
6a8ee6053b
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=73146
@ -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%/ \
|
||||
|
11
irc/epic4/files/patch-dcc.c
Normal file
11
irc/epic4/files/patch-dcc.c
Normal file
@ -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);
|
@ -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%/ \
|
||||
|
11
irc/epic5/files/patch-dcc.c
Normal file
11
irc/epic5/files/patch-dcc.c
Normal file
@ -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);
|
Loading…
x
Reference in New Issue
Block a user