1
0
mirror of https://github.com/Tha14/toxic.git synced 2024-11-23 02:33:02 +01:00

small optimization

This commit is contained in:
Jfreegman 2013-11-15 02:12:01 -05:00
parent a0eac6a136
commit 3ceba62921

View File

@ -361,11 +361,13 @@ static void close_file_sender(Tox *m, int i)
}
num_file_senders = j;
return;
}
static void do_file_senders(Tox *m)
{
if (num_file_senders == 0)
return;
int i;
for (i = 0; i < MAX_FILES; ++i) {