diff options
author | Volker Lendecke <vl@samba.org> | 2010-08-14 10:22:12 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2010-08-16 13:13:10 +0200 |
commit | 96ae4570230d2d47e23da6909f6e21dd43a19868 (patch) | |
tree | 2227d283971d61991b7859ef05a8390e37eb00ee /source3/lib/util_sock.c | |
parent | a482b3e14ec4e3eada9c2477c9eae2bfbe017f53 (diff) | |
download | samba-96ae4570230d2d47e23da6909f6e21dd43a19868.tar.gz samba-96ae4570230d2d47e23da6909f6e21dd43a19868.tar.bz2 samba-96ae4570230d2d47e23da6909f6e21dd43a19868.zip |
s3: Remove get_client_fd()
Diffstat (limited to 'source3/lib/util_sock.c')
-rw-r--r-- | source3/lib/util_sock.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source3/lib/util_sock.c b/source3/lib/util_sock.c index ced76ebca9..bf04af10bd 100644 --- a/source3/lib/util_sock.c +++ b/source3/lib/util_sock.c @@ -466,7 +466,7 @@ NTSTATUS read_fd_with_timeout(int fd, char *buf, if (readret == -1) { save_errno = errno; - if (fd == get_client_fd()) { + if (fd == smbd_server_fd()) { /* Try and give an error message * saying what client failed. */ DEBUG(0,("read_fd_with_timeout: " @@ -505,7 +505,7 @@ NTSTATUS read_fd_with_timeout(int fd, char *buf, if (selrtn == -1) { save_errno = errno; /* something is wrong. Maybe the socket is dead? */ - if (fd == get_client_fd()) { + if (fd == smbd_server_fd()) { /* Try and give an error message saying * what client failed. */ DEBUG(0,("read_fd_with_timeout: timeout " @@ -539,7 +539,7 @@ NTSTATUS read_fd_with_timeout(int fd, char *buf, if (readret == -1) { save_errno = errno; /* the descriptor is probably dead */ - if (fd == get_client_fd()) { + if (fd == smbd_server_fd()) { /* Try and give an error message * saying what client failed. */ DEBUG(0,("read_fd_with_timeout: timeout " @@ -666,7 +666,7 @@ ssize_t write_data(int fd, const char *buffer, size_t N) return ret; } - if (fd == get_client_fd()) { + if (fd == smbd_server_fd()) { char addr[INET6_ADDRSTRLEN]; /* * Try and give an error message saying what client failed. |