ratox

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

commit d9362d3f8d446fd130b2485e6aedd8c7cfbc3ac4
parent 4d6cd035259f3c9debea6844e777febe33f4fd48
Author: sin <sin@2f30.org>
Date:   Mon, 15 Sep 2014 12:52:17 +0100

Save friends too

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

diff --git a/ratatox.c b/ratatox.c @@ -614,6 +614,7 @@ doaccept(char *cmd, size_t sz) if (strcmp(req->idstr, args[1]) == 0) { tox_add_friend_norequest(tox, req->id); printf("Accepted friend request for %s\n", req->idstr); + datasave(); TAILQ_REMOVE(&reqhead, req, entry); free(req->msgstr); free(req); @@ -662,6 +663,7 @@ dofriend(char *cmd, size_t sz) printf("Friend request sent\n"); break; } + davesave(); return 0; }