forked from Telodendria/Telodendria
Fix fdopen() file mode.
This commit is contained in:
parent
640e127ce5
commit
de00c3cb37
1 changed files with 1 additions and 1 deletions
|
@ -65,7 +65,7 @@ QueueConnection(HttpServer * server, int fd)
|
|||
return 0;
|
||||
}
|
||||
|
||||
fp = fdopen(fd, "rw");
|
||||
fp = fdopen(fd, "r+");
|
||||
if (!fp)
|
||||
{
|
||||
return 0;
|
||||
|
|
Loading…
Reference in a new issue