]> code.citadel.org Git - citadel.git/blobdiff - citadel/tools.h
sprintf bashing
[citadel.git] / citadel / tools.h
index 57d03d89caa03b3048c3c140fd5abfdbbfe0092c..e168a96ed46a2eeecc6d38ef1106710ed0476ccf 100644 (file)
@@ -10,7 +10,7 @@ void striplt(char *);
 int haschar(const char *st, int ch);
 int collapsed_strcmp(char *s1, char *s2);
 void remove_token(char *source, int parmnum, char separator);
-void fmt_date(char *buf, time_t thetime, int seconds);
+void fmt_date(char *buf, size_t n, time_t thetime, int seconds);
 int is_msg_in_mset(char *mset, long msgnum);
 char *memreadline(char *start, char *buf, int maxlen);