mirror of
https://github.com/rkd77/elinks.git
synced 2024-11-04 08:17:17 -05:00
set_nonblocking_fd seems to be superfluous
This commit is contained in:
parent
e56f429c9b
commit
9c3817675f
@ -26,7 +26,6 @@
|
||||
#include "main/module.h"
|
||||
#include "network/connection.h"
|
||||
#include "network/socket.h"
|
||||
#include "osdep/osdep.h"
|
||||
#include "protocol/common.h"
|
||||
#include "protocol/file/cgi.h"
|
||||
#include "protocol/file/file.h"
|
||||
@ -213,7 +212,6 @@ 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) {
|
||||
|
Loading…
Reference in New Issue
Block a user