1
0
mirror of https://github.com/fumiama/simple-http-server.git synced 2026-06-05 00:30:23 +08:00

fix argc check

This commit is contained in:
源文雨
2023-03-11 00:08:17 +08:00
parent 3f6bb7d384
commit 9044c52cee

View File

@@ -594,7 +594,7 @@ int main(int argc, char **argv) {
uid_t uid = -1;
int pid = -1;
if(argc > 8) {
if(argc > 1+1+1+2+2+2+2+2) {
puts(USAGE);
exit(EXIT_SUCCESS);
}