summaryrefslogtreecommitdiff
path: root/source3/nsswitch
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2006-09-12 00:46:35 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:51:22 -0500
commit3a55aa918c09b45ceeb3b9236ccf1f6bc94da886 (patch)
tree55fe6167204d4723dc6e645b4b1c35037e294bce /source3/nsswitch
parent40892266f60b96b458bcb0c30912d6cbeb80e16d (diff)
downloadsamba-3a55aa918c09b45ceeb3b9236ccf1f6bc94da886.tar.gz
samba-3a55aa918c09b45ceeb3b9236ccf1f6bc94da886.tar.bz2
samba-3a55aa918c09b45ceeb3b9236ccf1f6bc94da886.zip
r18411: Getting a zero length read is common. Don't log at
debug level zero. Jeremy. (This used to be commit e23caeb7b57b0b1bbc2f8b6abf34166f271a88fa)
Diffstat (limited to 'source3/nsswitch')
-rw-r--r--source3/nsswitch/winbindd_dual.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/nsswitch/winbindd_dual.c b/source3/nsswitch/winbindd_dual.c
index f19672be16..94f7c49c95 100644
--- a/source3/nsswitch/winbindd_dual.c
+++ b/source3/nsswitch/winbindd_dual.c
@@ -46,7 +46,7 @@ static void child_read_request(struct winbindd_cli_state *state)
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;
}