1
0
mirror of https://github.com/Tha14/toxic.git synced 2024-11-30 03:53:27 +01: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: 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);