diff options
author | Andrew Tridgell <tridge@samba.org> | 2000-04-19 04:01:16 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2000-04-19 04:01:16 +0000 |
commit | 612682354fa978d7b883028b3aace52a2882adca (patch) | |
tree | 9c0067c0162178774ce251422370991663fd85aa /source3/lib/util_sock.c | |
parent | d2db520692898c317acc2eba78f88f8398a1fd21 (diff) | |
download | samba-612682354fa978d7b883028b3aace52a2882adca.tar.gz samba-612682354fa978d7b883028b3aace52a2882adca.tar.bz2 samba-612682354fa978d7b883028b3aace52a2882adca.zip |
- got rid of the "passive" option
- cleaned up the standard_sub_*() calls a lot
(This used to be commit 2c2d95d77d3667eaa9252506a82b9054b0d0e01c)
Diffstat (limited to 'source3/lib/util_sock.c')
-rw-r--r-- | source3/lib/util_sock.c | 7 |
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) |