Removed while(1) loop in dcc_read function

This commit is contained in:
Spencer Berger 2018-03-02 23:29:36 -08:00
parent 8aa3b03261
commit ef909a3cc5

View File

@ -713,8 +713,6 @@ dcc_read (GIOChannel *source, GIOCondition condition, struct DCC *dcc)
dcc_close (dcc, STAT_FAILED, FALSE);
return TRUE;
}
while (1)
{
if (dcc->throttled)
{
if (need_ack)
@ -776,7 +774,6 @@ dcc_read (GIOChannel *source, GIOCondition condition, struct DCC *dcc)
return TRUE;
}
}
}
static void
dcc_open_query (server *serv, char *nick)