1
0
mirror of https://github.com/Tha14/toxic.git synced 2025-12-07 10:26:35 +01:00

add peer count to sidepanel

This commit is contained in:
Jfreegman
2013-11-29 01:30:10 -05:00
parent 04b394d6dd
commit b909ab37b7
2 changed files with 12 additions and 5 deletions

View File

@@ -425,10 +425,8 @@ static void close_file_transfers(Tox *m)
int i;
for (i = 0; i < max_file_senders_index; ++i) {
if (!file_senders[i].active)
continue;
fclose(file_senders[i].file);
if (file_senders[i].active)
fclose(file_senders[i].file);
}
}