Skip to content
Snippets Groups Projects
Commit 0330fe8d authored by Deucе's avatar Deucе :ok_hand_tone4:
Browse files

Fix last commit.

parent ca955e09
No related branches found
No related tags found
No related merge requests found
Pipeline #6724 passed
...@@ -2276,7 +2276,7 @@ capture_control(struct bbslist *bbs) ...@@ -2276,7 +2276,7 @@ capture_control(struct bbslist *bbs)
// We can't use snprintf() here because snprintf() // We can't use snprintf() here because snprintf()
// Is guaranteed to terminate, so the last digit // Is guaranteed to terminate, so the last digit
// would always be truncated. // would always be truncated.
sprintf(sauce.date, sizeof(sauce.date), "%04u%02u%02u", sprintf(sauce.date, "%04u%02u%02u",
1900 + tm->tm_year, 1 + tm->tm_mon, tm->tm_mday); 1900 + tm->tm_year, 1 + tm->tm_mon, tm->tm_mday);
} }
sauce.filesize = LE_INT32(ftell(fp)); // LE sauce.filesize = LE_INT32(ftell(fp)); // LE
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment