mirror of
https://github.com/Tha14/toxic.git
synced 2024-11-26 18:13:26 +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:
|
case TOX_FILECONTROL_KILL:
|
||||||
wprintw(ctx->history, "File transfer for '%s' failed.\n", filename);
|
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;
|
friends[num].file_receiver.pending[filenum] = false;
|
||||||
else
|
else
|
||||||
close_file_sender(filenum);
|
close_file_sender(filenum);
|
||||||
|
Loading…
Reference in New Issue
Block a user