summaryrefslogtreecommitdiff
path: root/source3/lib/util_sock.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/lib/util_sock.c')
-rw-r--r--source3/lib/util_sock.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/source3/lib/util_sock.c b/source3/lib/util_sock.c
index 33c6e91709..bb62442beb 100644
--- a/source3/lib/util_sock.c
+++ b/source3/lib/util_sock.c
@@ -30,8 +30,6 @@ extern int sslFd;
extern int DEBUGLEVEL;
-BOOL passive = False;
-
/* the last IP received from */
struct in_addr lastip;
@@ -538,8 +536,6 @@ ssize_t write_socket(int fd,char *buf,size_t len)
{
ssize_t ret=0;
- if (passive)
- return(len);
DEBUG(6,("write_socket(%d,%d)\n",fd,(int)len));
ret = write_socket_data(fd,buf,len);
@@ -752,9 +748,6 @@ BOOL send_one_packet(char *buf,int len,struct in_addr ip,int port,int type)
int out_fd;
struct sockaddr_in sock_out;
- if (passive)
- return(True);
-
/* create a socket to write to */
out_fd = socket(AF_INET, type, 0);
if (out_fd == -1)