1
0
mirror of https://github.com/Tha14/toxic.git synced 2024-07-03 15:57:46 +02:00
This commit is contained in:
Jfreegman 2014-03-05 03:37:07 -05:00
parent d1153f96ca
commit 675c8fa89f

View File

@ -237,7 +237,7 @@ static void chat_onFileSendRequest(ToxWindow *self, Tox *m, int num, uint8_t fil
alert_window(self, WINDOW_ALERT_2, true);
}
static void close_file_receiver(num, filenum)
static void close_file_receiver(int num, int filenum)
{
friends[num].file_receiver.pending[filenum] = false;
FILE *file = friends[num].file_receiver.files[filenum];
@ -254,7 +254,6 @@ static void chat_onFileControl(ToxWindow *self, Tox *m, int num, uint8_t receive
ChatContext *ctx = self->chatwin;
uint8_t *filename;
bool close_in_file = false;
if (receive_send == 0)
filename = friends[num].file_receiver.filenames[filenum];