diff options
author | sin <sin@2f30.org> | 2014-09-17 11:53:30 +0100 |
---|---|---|
committer | sin <sin@2f30.org> | 2014-09-17 11:53:30 +0100 |
commit | 94ef23df977c41306504ae62d6def8b872186e0c (patch) | |
tree | d41dcef5daf3af6b428bd99178308d8318f3e282 /ratatox.c | |
parent | 6233494e4c5941e8a7a54c57d1baad1fdcfafdf6 (diff) |
Use upper-case when printing IDs
Diffstat (limited to 'ratatox.c')
-rw-r--r-- | ratatox.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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++) { |