summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsin <sin@2f30.org>2014-09-17 11:53:30 +0100
committersin <sin@2f30.org>2014-09-17 11:53:30 +0100
commit94ef23df977c41306504ae62d6def8b872186e0c (patch)
treed41dcef5daf3af6b428bd99178308d8318f3e282
parent6233494e4c5941e8a7a54c57d1baad1fdcfafdf6 (diff)
Use upper-case when printing IDs
-rw-r--r--ratatox.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ratatox.c b/ratatox.c
index 64575d5..38d535f 100644
--- 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++) {