ratox

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

commit f008567f6d674c99b618fa87509152f73783bc44
parent 07ad69d6b12ed907301a43e23024531e2f528b1f
Author: pranomostro <pranomestro@gmail.com>
Date:   Fri,  2 Dec 2016 11:08:37 +0100

Merge branch 'toktok' of git.z3bra.org:ratox into toktok

Fix amend commit.

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

diff --git a/ratox.c b/ratox.c @@ -3,8 +3,6 @@ #include <sys/stat.h> #include <sys/types.h> -#include <arpa/inet.h> - #include <ctype.h> #include <dirent.h> #include <errno.h> @@ -1364,7 +1362,7 @@ confcreate(uint32_t cnum) if(!c) eprintf("calloc:"); c->num = cnum; - sprintf(c->numstr, "%08X", ntohl(c->num)); + sprintf(c->numstr, "%08X", c->num); r = mkdir(c->numstr, 0777); if(r < 0 && errno != EEXIST) eprintf("mkdir %s:", c->numstr);