summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsin <sin@2f30.org>2014-10-01 19:10:57 +0100
committersin <sin@2f30.org>2014-10-01 19:10:57 +0100
commit207fdb2bd1873c2e75b4337681e4c73e351e25e1 (patch)
tree2cb1940e67139415a01c0d24e3a3da554e194706
parent30eb05ef9c7a1a8bea4bc1c88abd154d11421db2 (diff)
Fix format specifier for printing nospam
-rw-r--r--ratox.c2
1 files changed, 1 insertions, 1 deletions
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;
}