1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-28 10:08:24 +00:00
freebsd-ports/irc/epic5/files/patch-dcc.c
Matthew N. Dodd 6a8ee6053b This patch corrects the printing of DCC transfer stats.
Approved by:	 MAINTAINER
2003-01-14 22:23:32 +00:00

12 lines
314 B
C

--- 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);