summaryrefslogtreecommitdiff
path: root/stun/debug.c
diff options
context:
space:
mode:
Diffstat (limited to 'stun/debug.c')
-rw-r--r--stun/debug.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stun/debug.c b/stun/debug.c
index 598094d..f3a55bb 100644
--- a/stun/debug.c
+++ b/stun/debug.c
@@ -89,7 +89,7 @@ void stun_debug_bytes (const char *prefix, const void *data, size_t len)
strcpy (bytes + prefix_len, "0x");
for (i = 0; i < len; i++)
- snprintf (bytes + prefix_len + 2 + (i * 2), 3, "%02x", ((const unsigned char *)data)[i]);
+ sprintf (bytes + prefix_len + 2 + (i * 2), "%02x", ((const unsigned char *)data)[i]);
stun_debug ("%s", bytes);
}