summaryrefslogtreecommitdiff
path: root/util.c
diff options
context:
space:
mode:
authorGDR! <gdr@go2.pl>2014-12-11 22:31:49 +0100
committerGDR! <gdr@go2.pl>2014-12-11 22:31:49 +0100
commit925a7c2bdf93c3a0209552285b77e2e585a799c4 (patch)
tree8a4cbf574a182288cf5f7cb3b9af9040d692c66d /util.c
parentf7f5170d00ee10affcacf569842207120a7ab16d (diff)
Fixed a warning and printing garbage
Diffstat (limited to 'util.c')
-rw-r--r--util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util.c b/util.c
index 8391279..86d316d 100644
--- a/util.c
+++ b/util.c
@@ -43,7 +43,7 @@ void to_hex(char_t *a, const char_t *p, int size)
43/* From utox/util.c */ 43/* From utox/util.c */
44void id_to_string(char_t *dest, const char_t *src) 44void id_to_string(char_t *dest, const char_t *src)
45{ 45{
46 to_hex(dest, src, TOX_FRIEND_ADDRESS_SIZE - 1); 46 to_hex(dest, src, TOX_FRIEND_ADDRESS_SIZE);
47} 47}
48 48
49/* From utox/util.c */ 49/* From utox/util.c */