blob: fc1c8b98a1b275156cf63382fa649a6f186fe84c (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
--- xchat-2.0.3/src/common/dcc.c 2003-06-16 22:54:37.000000000 +1000
+++ xchat-2.0.3p1/src/common/dcc.c 2003-07-07 19:04:48.000000000 +1000
@@ -129,7 +129,7 @@
if (dcc->type == TYPE_SEND)
{
/* carefull to avoid 32bit overflow */
- pos = dcc->pos + ((dcc->pos - dcc->ack) / 2);
+ pos = dcc->pos - ((dcc->pos - dcc->ack) / 2);
glob_throttle_bit = 0x1;
cpssum = &dcc_sendcpssum;
glob_limit = prefs.dcc_global_max_send_cps;
|