Removed while(1) loop in dcc_read function
This commit is contained in:
parent
8aa3b03261
commit
ef909a3cc5
@ -713,8 +713,6 @@ dcc_read (GIOChannel *source, GIOCondition condition, struct DCC *dcc)
|
|||||||
dcc_close (dcc, STAT_FAILED, FALSE);
|
dcc_close (dcc, STAT_FAILED, FALSE);
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
while (1)
|
|
||||||
{
|
|
||||||
if (dcc->throttled)
|
if (dcc->throttled)
|
||||||
{
|
{
|
||||||
if (need_ack)
|
if (need_ack)
|
||||||
@ -775,7 +773,6 @@ dcc_read (GIOChannel *source, GIOCondition condition, struct DCC *dcc)
|
|||||||
dcc->file, dcc->destfile, dcc->nick, buf, 0);
|
dcc->file, dcc->destfile, dcc->nick, buf, 0);
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
Loading…
Reference in New Issue
Block a user