Don't unconditionally close standard input; it may have been used and

closed before. If it was never used, it was never opened.
This commit is contained in:
Jordan Bancino 2023-03-22 18:12:46 +00:00
parent 35f65a667d
commit fccd15b239
1 changed files with 0 additions and 1 deletions

View File

@ -223,7 +223,6 @@ main(int argc, char **argv)
StreamClose(StreamStdout());
StreamClose(StreamStderr());
StreamClose(StreamStdin());
return !(res == HTTP_OK);
}