diff options
author | sin <sin@2f30.org> | 2014-09-18 15:25:11 +0100 |
---|---|---|
committer | sin <sin@2f30.org> | 2014-09-18 15:25:11 +0100 |
commit | ee80990c3ba4c953d6bb9cc68f5c98b99f4b5152 (patch) | |
tree | 3c198d5eb92852428e092d17572024eda77c847a | |
parent | 9371e160e7a90a623cffeddc52a3704d6d383822 (diff) |
Print a message when we reject a friend request
-rw-r--r-- | ratox.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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); |