From 207fdb2bd1873c2e75b4337681e4c73e351e25e1 Mon Sep 17 00:00:00 2001 From: sin Date: Wed, 1 Oct 2014 19:10:57 +0100 Subject: Fix format specifier for printing nospam --- ratox.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ratox.c b/ratox.c index da89a06..c27931e 100644 --- a/ratox.c +++ b/ratox.c @@ -1041,7 +1041,7 @@ localinit(void) /* Dump Nospam */ ftruncate(gslots[NOSPAM].fd[OUT], 0); - dprintf(gslots[NOSPAM].fd[OUT], "%X\n", tox_get_nospam(tox)); + dprintf(gslots[NOSPAM].fd[OUT], "%08X\n", tox_get_nospam(tox)); return 0; } -- cgit v1.2.3