summaryrefslogtreecommitdiff
path: root/irc/epic5/files/patch-dcc.c
blob: bb588180d6b72dfa0d4b3d4713c6d84ce965ed28 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
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);