ratox

FIFO based tox client
git clone git://git.2f30.org/ratox
Log | Files | Refs | README | LICENSE

commit f28a584136131956beb50f4b7e6fc9fe69d4972d
parent 15fc377636689e4f11e170db911abc8b745c0483
Author: sin <sin@2f30.org>
Date:   Tue, 16 Sep 2014 14:24:45 +0100

When initiating a transfer, print the nickname of the friend

Diffstat:
Mratatox.c | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git 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);