ratox

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

commit 94ef23df977c41306504ae62d6def8b872186e0c
parent 6233494e4c5941e8a7a54c57d1baad1fdcfafdf6
Author: sin <sin@2f30.org>
Date:   Wed, 17 Sep 2014 11:53:30 +0100

Use upper-case when printing IDs

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

diff --git a/ratatox.c b/ratatox.c @@ -597,7 +597,7 @@ localinit(void) } tox_get_address(tox, address); for (i = 0; i < TOX_FRIEND_ADDRESS_SIZE; i++) - fprintf(fp, "%02x", address[i]); + fprintf(fp, "%02X", address[i]); fputc('\n', fp); fclose(fp); @@ -637,7 +637,7 @@ toxconnect(void) static void id2str(uint8_t *id, char *idstr) { - char hex[] = "0123456789abcdef"; + char hex[] = "0123456789ABCDEF"; int i; for (i = 0; i < TOX_CLIENT_ID_SIZE; i++) {