1
0
mirror of https://github.com/fumiama/CMoe-Counter.git synced 2026-06-17 17:10:23 +08:00

fix(compile): remove c99 restriction

This commit is contained in:
源文雨
2024-04-12 22:51:42 +09:00
parent 3a9536d08e
commit c1fe6dc3f5
2 changed files with 1 additions and 5 deletions

2
cmoe.c
View File

@@ -199,7 +199,7 @@ int main(int argc, char **argv) {
theme = get_arg(theme + 6);
}
char* reg = strstr(QS, "reg=");
int fd;
int fd;
if (!reg) {
if ((fd=create_or_open(datfile)) < 0) {
http_error(HTTP500, "Open File Error.");