From ee80990c3ba4c953d6bb9cc68f5c98b99f4b5152 Mon Sep 17 00:00:00 2001 From: sin Date: Thu, 18 Sep 2014 15:25:11 +0100 Subject: Print a message when we reject a friend request --- ratox.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ratox.c b/ratox.c index 08d4f25..9edf05d 100644 --- a/ratox.c +++ b/ratox.c @@ -1058,6 +1058,8 @@ loop(void) tox_add_friend_norequest(tox, r->id); printout("Accepted friend request for %s\n", r->idstr); datasave(); + } else { + printout("Rejected friend request for %s\n", r->idstr); } unlinkat(gslots[REQUEST].fd[OUT], r->idstr, 0); close(r->fd); -- cgit v1.2.3