1
0
mirror of https://github.com/rkd77/elinks.git synced 2025-02-02 15:09:23 -05:00

Revert "set_nonblocking_fd seems to be superfluous"

I am reverting all /dev/fd recognition because of bug 917.
This reverts commit 9c3817675f6eee2d93a65e4155cbdb0c0d2dbd7e.
This commit is contained in:
Kalle Olavi Niemitalo 2008-06-15 19:24:53 +03:00 committed by Kalle Olavi Niemitalo
parent 04f62c1ebb
commit 006b68716b

View File

@ -214,6 +214,7 @@ read_special(struct connection *conn, int fd)
abort_connection(conn, S_OUT_OF_MEM);
return;
}
set_nonblocking_fd(fd);
conn->socket->fd = fd;
rb = alloc_read_buffer(conn->socket);
if (!rb) {