mirror of
https://github.com/Tha14/toxic.git
synced 2024-11-13 02:23:01 +01:00
wrong signal
This commit is contained in:
parent
a02bbfa643
commit
8ff907d719
@ -189,7 +189,7 @@ static void chat_onFileControl(ToxWindow *self, Tox *m, int num, uint8_t receive
|
||||
case TOX_FILECONTROL_KILL:
|
||||
wprintw(ctx->history, "File transfer for '%s' failed.\n", filename);
|
||||
|
||||
if (receive_send == 1)
|
||||
if (receive_send == 0)
|
||||
friends[num].file_receiver.pending[filenum] = false;
|
||||
else
|
||||
close_file_sender(filenum);
|
||||
|
Loading…
Reference in New Issue
Block a user