summaryrefslogtreecommitdiff
path: root/ratatox.c
diff options
context:
space:
mode:
authorsin <sin@2f30.org>2014-09-16 14:24:45 +0100
committersin <sin@2f30.org>2014-09-16 14:24:45 +0100
commitf28a584136131956beb50f4b7e6fc9fe69d4972d (patch)
tree2a5080d6e06fee5aed330ce730cb0f7d8d4ec9c0 /ratatox.c
parent15fc377636689e4f11e170db911abc8b745c0483 (diff)
When initiating a transfer, print the nickname of the friend
Diffstat (limited to 'ratatox.c')
-rw-r--r--ratatox.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/ratatox.c b/ratatox.c
index 79938cc..ce7129e 100644
--- a/ratatox.c
+++ b/ratatox.c
@@ -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);