diff options
author | sin <sin@2f30.org> | 2014-09-16 14:24:45 +0100 |
---|---|---|
committer | sin <sin@2f30.org> | 2014-09-16 14:24:45 +0100 |
commit | f28a584136131956beb50f4b7e6fc9fe69d4972d (patch) | |
tree | 2a5080d6e06fee5aed330ce730cb0f7d8d4ec9c0 /ratatox.c | |
parent | 15fc377636689e4f11e170db911abc8b745c0483 (diff) |
When initiating a transfer, print the nickname of the friend
Diffstat (limited to 'ratatox.c')
-rw-r--r-- | ratatox.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -972,7 +972,8 @@ loop(void) f->t.state = TRANSFER_INITIATED; tox_new_file_sender(tox, f->fid, 0, (uint8_t *)"file", strlen("file") + 1); - printout("Initiated transfer...\n"); + printout("Initiated transfer to %s\n", + f->namestr[0] == '\0' ? "Anonymous" : f->namestr); break; case TRANSFER_INPROGRESS: send_friend_file(f); |