svn commit: samba r11319 - branches/SAMBA_3_0/source/nsswitch
trunk/source/nsswitch
vlendec at samba.org
vlendec at samba.org
Thu Oct 27 07:57:40 GMT 2005
Author: vlendec
Date: 2005-10-27 07:57:39 +0000 (Thu, 27 Oct 2005)
New Revision: 11319
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=11319
Log:
read_buf_len and write_buf_len are no longer used, remove them.
Volker
Modified:
branches/SAMBA_3_0/source/nsswitch/winbindd.c
branches/SAMBA_3_0/source/nsswitch/winbindd.h
trunk/source/nsswitch/winbindd.c
trunk/source/nsswitch/winbindd.h
Changeset:
Modified: branches/SAMBA_3_0/source/nsswitch/winbindd.c
===================================================================
--- branches/SAMBA_3_0/source/nsswitch/winbindd.c 2005-10-27 07:32:04 UTC (rev 11318)
+++ branches/SAMBA_3_0/source/nsswitch/winbindd.c 2005-10-27 07:57:39 UTC (rev 11319)
@@ -120,9 +120,8 @@
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 @@
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) {
Modified: branches/SAMBA_3_0/source/nsswitch/winbindd.h
===================================================================
--- branches/SAMBA_3_0/source/nsswitch/winbindd.h 2005-10-27 07:32:04 UTC (rev 11318)
+++ branches/SAMBA_3_0/source/nsswitch/winbindd.h 2005-10-27 07:57:39 UTC (rev 11319)
@@ -60,7 +60,6 @@
int sock; /* Open socket from client */
struct fd_event fd_event;
pid_t pid; /* pid of client */
- int read_buf_len, write_buf_len; /* Indexes in request/response */
BOOL finished; /* Can delete from list */
BOOL write_extra_data; /* Write extra_data field */
time_t last_access; /* Time of last access (read or write) */
Modified: trunk/source/nsswitch/winbindd.c
===================================================================
--- trunk/source/nsswitch/winbindd.c 2005-10-27 07:32:04 UTC (rev 11318)
+++ trunk/source/nsswitch/winbindd.c 2005-10-27 07:57:39 UTC (rev 11319)
@@ -120,9 +120,8 @@
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));
}
}
}
@@ -712,8 +711,7 @@
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) {
Modified: trunk/source/nsswitch/winbindd.h
===================================================================
--- trunk/source/nsswitch/winbindd.h 2005-10-27 07:32:04 UTC (rev 11318)
+++ trunk/source/nsswitch/winbindd.h 2005-10-27 07:57:39 UTC (rev 11319)
@@ -60,7 +60,6 @@
int sock; /* Open socket from client */
struct fd_event fd_event;
pid_t pid; /* pid of client */
- int read_buf_len, write_buf_len; /* Indexes in request/response */
BOOL finished; /* Can delete from list */
BOOL write_extra_data; /* Write extra_data field */
time_t last_access; /* Time of last access (read or write) */
More information about the samba-cvs
mailing list