svn commit: samba r18411 - in branches: SAMBA_3_0/source/nsswitch
SAMBA_3_0_23/source/nsswitch
jra at samba.org
jra at samba.org
Tue Sep 12 00:46:36 GMT 2006
Author: jra
Date: 2006-09-12 00:46:35 +0000 (Tue, 12 Sep 2006)
New Revision: 18411
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=18411
Log:
Getting a zero length read is common. Don't log at
debug level zero.
Jeremy.
Modified:
branches/SAMBA_3_0/source/nsswitch/winbindd_dual.c
branches/SAMBA_3_0_23/source/nsswitch/winbindd_dual.c
Changeset:
Modified: branches/SAMBA_3_0/source/nsswitch/winbindd_dual.c
===================================================================
--- branches/SAMBA_3_0/source/nsswitch/winbindd_dual.c 2006-09-12 00:41:49 UTC (rev 18410)
+++ branches/SAMBA_3_0/source/nsswitch/winbindd_dual.c 2006-09-12 00:46:35 UTC (rev 18411)
@@ -46,7 +46,7 @@
sizeof(state->request));
if (len != sizeof(state->request)) {
- DEBUG(0, ("Got invalid request length: %d\n", (int)len));
+ DEBUG(len > 0 ? 0 : 3, ("Got invalid request length: %d\n", (int)len));
state->finished = True;
return;
}
Modified: branches/SAMBA_3_0_23/source/nsswitch/winbindd_dual.c
===================================================================
--- branches/SAMBA_3_0_23/source/nsswitch/winbindd_dual.c 2006-09-12 00:41:49 UTC (rev 18410)
+++ branches/SAMBA_3_0_23/source/nsswitch/winbindd_dual.c 2006-09-12 00:46:35 UTC (rev 18411)
@@ -46,7 +46,7 @@
sizeof(state->request));
if (len != sizeof(state->request)) {
- DEBUG(0, ("Got invalid request length: %d\n", (int)len));
+ DEBUG(len > 0 ? 0 : 3, ("Got invalid request length: %d\n", (int)len));
state->finished = True;
return;
}
More information about the samba-cvs
mailing list