1
0
mirror of https://github.com/Tha14/toxic.git synced 2025-12-07 14:46:35 +01:00

merge with upstream

This commit is contained in:
Jfreegman
2015-04-04 03:36:09 -04:00
15 changed files with 397 additions and 94 deletions

View File

@@ -241,6 +241,7 @@ void cmd_sendfile(WINDOW *window, ToxWindow *self, Tox *m, int argc, char (*argv
ft->filenum = filenum;
ft->friendnum = self->num;
ft->direction = FILE_TRANSFER_SEND;
ft->file_type = TOX_FILE_KIND_DATA;
char sizestr[32];
bytes_convert_str(sizestr, sizeof(sizestr), filesize);