Removed while(1) loop in dcc_read_chat function

This commit is contained in:
Spencer Berger 2018-03-02 23:37:54 -08:00
parent ef909a3cc5
commit c4f0cf8e74

View File

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