mirror of
https://github.com/Tha14/toxic.git
synced 2024-11-22 21:53:05 +01:00
small optimization
This commit is contained in:
parent
a0eac6a136
commit
3ceba62921
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user