summaryrefslogtreecommitdiff
path: root/source3/nsswitch/winbindd.c
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2005-10-27 07:57:39 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:05:11 -0500
commitbd935df61704c60f11aca77826f977e549078c1a (patch)
treeace1d16da32d9c72c10b36a418453e40feb201e3 /source3/nsswitch/winbindd.c
parent03cfcabec4282ba23d29aa25b5cc766c98abb35a (diff)
downloadsamba-bd935df61704c60f11aca77826f977e549078c1a.tar.gz
samba-bd935df61704c60f11aca77826f977e549078c1a.tar.bz2
samba-bd935df61704c60f11aca77826f977e549078c1a.zip
r11319: read_buf_len and write_buf_len are no longer used, remove them.
Volker (This used to be commit 6948f748f689708c396e52097553ff222b1af744)
Diffstat (limited to 'source3/nsswitch/winbindd.c')
-rw-r--r--source3/nsswitch/winbindd.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/source3/nsswitch/winbindd.c b/source3/nsswitch/winbindd.c
index 565764fa4b..56e0f16bcb 100644
--- a/source3/nsswitch/winbindd.c
+++ b/source3/nsswitch/winbindd.c
@@ -120,9 +120,8 @@ static void winbindd_status(void)
if (DEBUGLEVEL >= 2 && winbindd_num_clients()) {
DEBUG(2, ("\tclient list:\n"));
for(tmp = winbindd_client_list(); tmp; tmp = tmp->next) {
- DEBUG(2, ("\t\tpid %lu, sock %d, rbl %d, wbl %d\n",
- (unsigned long)tmp->pid, tmp->sock, tmp->read_buf_len,
- tmp->write_buf_len));
+ DEBUG(2, ("\t\tpid %lu, sock %d\n",
+ (unsigned long)tmp->pid, tmp->sock));
}
}
}
@@ -707,8 +706,7 @@ static BOOL remove_idle_client(void)
int nidle = 0;
for (state = winbindd_client_list(); state; state = state->next) {
- if (state->read_buf_len == 0 && state->write_buf_len == 0 &&
- state->response.result != WINBINDD_PENDING &&
+ if (state->response.result != WINBINDD_PENDING &&
!state->getpwent_state && !state->getgrent_state) {
nidle++;
if (!last_access || state->last_access < last_access) {