summaryrefslogtreecommitdiff
path: root/ratox.c
diff options
context:
space:
mode:
authorsin <sin@2f30.org>2014-09-18 15:25:11 +0100
committersin <sin@2f30.org>2014-09-18 15:25:11 +0100
commitee80990c3ba4c953d6bb9cc68f5c98b99f4b5152 (patch)
tree3c198d5eb92852428e092d17572024eda77c847a /ratox.c
parent9371e160e7a90a623cffeddc52a3704d6d383822 (diff)
Print a message when we reject a friend request
Diffstat (limited to 'ratox.c')
-rw-r--r--ratox.c2
1 files changed, 2 insertions, 0 deletions
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);