mirror of
https://github.com/Tha14/toxic.git
synced 2025-12-07 06:06:34 +01:00
kill file transfer if writing fails
This commit is contained in:
@@ -352,7 +352,7 @@ static void load_data(Tox *m, char *path)
|
||||
}
|
||||
}
|
||||
|
||||
static void close_file_sender(int i)
|
||||
void close_file_sender(int i)
|
||||
{
|
||||
fclose(file_senders[i].file);
|
||||
memset(&file_senders[i], 0, sizeof(FileSender));
|
||||
|
||||
Reference in New Issue
Block a user