Removed while(1) loop in dcc_read_chat function
This commit is contained in:
parent
ef909a3cc5
commit
c4f0cf8e74
@ -577,8 +577,6 @@ dcc_read_chat (GIOChannel *source, GIOCondition condition, struct DCC *dcc)
|
||||
char portbuf[32];
|
||||
char lbuf[2050];
|
||||
|
||||
while (1)
|
||||
{
|
||||
if (dcc->throttled)
|
||||
{
|
||||
fe_input_remove (dcc->iotag);
|
||||
@ -631,7 +629,6 @@ dcc_read_chat (GIOChannel *source, GIOCondition condition, struct DCC *dcc)
|
||||
i++;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
static void
|
||||
dcc_calc_average_cps (struct DCC *dcc)
|
||||
|
Loading…
Reference in New Issue
Block a user