ratox

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

commit ea2da3a713a6f1d6383c13394584fea74f906e5a
parent e4336f7c196af94705c3e001b8835300f6e3a3e1
Author: sin <sin@2f30.org>
Date:   Mon, 22 Sep 2014 23:50:58 +0100

Use fsync() on fd in datasave()

Diffstat:
Mratox.c | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/ratox.c b/ratox.c @@ -653,6 +653,7 @@ datasave(void) perror("write"); exit(EXIT_FAILURE); } + fsync(fd); free(data); close(fd);