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

couple fixes

This commit is contained in:
Jfreegman
2014-02-11 19:12:26 -05:00
parent 16b8f85d95
commit c3d2ff6bfb
4 changed files with 9 additions and 7 deletions

View File

@ -136,7 +136,8 @@ static void chat_onFileSendRequest(ToxWindow *self, Tox *m, int num, uint8_t fil
ChatContext *ctx = self->chatwin;
uint8_t *filename = get_file_name(pathname);
uint8_t filename[MAX_STR_SIZE];
get_file_name(pathname, filename);
wprintw(ctx->history, "File transfer request for '%s' (%llu bytes).\n", filename,
(long long unsigned int)filesize);