Fix undeclared variable

This commit is contained in:
Andrew Pamment 2017-03-21 10:49:35 +10:00
parent 9a0347e47e
commit 18fee3a050

View File

@ -137,7 +137,7 @@ unsigned long generate_msgid(char *bbs_path) {
unsigned long lastid;
FILE *fptr;
time_t unixtime;
snprintf(buffer, 1024, "%s/msgserial", bbs_path);
unixtime = time(NULL);