From f28a584136131956beb50f4b7e6fc9fe69d4972d Mon Sep 17 00:00:00 2001 From: sin Date: Tue, 16 Sep 2014 14:24:45 +0100 Subject: When initiating a transfer, print the nickname of the friend --- ratatox.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'ratatox.c') 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); -- cgit v1.2.3