mirror of
https://github.com/Tha14/toxic.git
synced 2024-11-26 23:03:27 +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;
|
num_file_senders = j;
|
||||||
return;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static void do_file_senders(Tox *m)
|
static void do_file_senders(Tox *m)
|
||||||
{
|
{
|
||||||
|
if (num_file_senders == 0)
|
||||||
|
return;
|
||||||
|
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
for (i = 0; i < MAX_FILES; ++i) {
|
for (i = 0; i < MAX_FILES; ++i) {
|
||||||
|
Loading…
Reference in New Issue
Block a user