Fix fdopen() file mode.

This commit is contained in:
Jordan Bancino 2022-08-24 16:28:50 -04:00
parent 640e127ce5
commit de00c3cb37

View file

@ -65,7 +65,7 @@ QueueConnection(HttpServer * server, int fd)
return 0;
}
fp = fdopen(fd, "rw");
fp = fdopen(fd, "r+");
if (!fp)
{
return 0;