aboutsummaryrefslogtreecommitdiffstats
path: root/FICS
diff options
context:
space:
mode:
Diffstat (limited to 'FICS')
-rw-r--r--FICS/utils.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/FICS/utils.c b/FICS/utils.c
index 20aae1a..50b31de 100644
--- a/FICS/utils.c
+++ b/FICS/utils.c
@@ -865,9 +865,10 @@ fix_time(char *old_time)
date[0] = '0';
date[1] = i;
}
+
date[2] = '\0';
- snprintf(new_time, sizeof new_time, "%s, %s %s", day, month, date);
+ msnprintf(new_time, sizeof new_time, "%s, %s %s", day, month, date);
return &new_time[0];
}