summaryrefslogtreecommitdiff
path: root/src/pack.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/pack.c')
-rw-r--r--src/pack.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/pack.c b/src/pack.c
index 9e1d4fe..c446f56 100644
--- a/src/pack.c
+++ b/src/pack.c
@@ -119,6 +119,7 @@ void intstostr(const int *ints, int num, char *str)
ints++;
num--;
}
+ str[-1] = 0;
}
void strtoint(const char *str, int num, int *ints)