commit 207fdb2bd1873c2e75b4337681e4c73e351e25e1
parent 30eb05ef9c7a1a8bea4bc1c88abd154d11421db2
Author: sin <sin@2f30.org>
Date: Wed, 1 Oct 2014 19:10:57 +0100
Fix format specifier for printing nospam
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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;
}