1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-12-04 14:46:47 -05:00

set_nonblocking_fd seems to be superfluous

This commit is contained in:
Witold Filipczyk 2006-05-06 08:07:38 +02:00 committed by Witold Filipczyk
parent e56f429c9b
commit 9c3817675f

View File

@ -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) {