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

View file

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