From 612682354fa978d7b883028b3aace52a2882adca Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Wed, 19 Apr 2000 04:01:16 +0000 Subject: - got rid of the "passive" option - cleaned up the standard_sub_*() calls a lot (This used to be commit 2c2d95d77d3667eaa9252506a82b9054b0d0e01c) --- source3/lib/util_sock.c | 7 ------- 1 file changed, 7 deletions(-) (limited to 'source3/lib/util_sock.c') 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) -- cgit