1
0
mirror of https://github.com/Tha14/toxic.git synced 2024-06-26 20:57:48 +02:00

wrong signal

This commit is contained in:
Jfreegman 2013-11-29 19:31:47 -05:00
parent a02bbfa643
commit 8ff907d719

View File

@ -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);