diff options
author | Ulrich Drepper <drepper@redhat.com> | 2004-08-04 06:25:42 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2004-08-04 06:25:42 +0000 |
commit | 0532e21bad5e3f64018029e3505545aebf8c072a (patch) | |
tree | f8fa1dd773765ceea40259501e28bc091cef6cb4 /nscd | |
parent | 5d32be9a0a5489d9274de87b3657b1e16e27ef3f (diff) | |
download | glibc-0532e21bad5e3f64018029e3505545aebf8c072a.tar.gz glibc-0532e21bad5e3f64018029e3505545aebf8c072a.tar.xz glibc-0532e21bad5e3f64018029e3505545aebf8c072a.zip |
Update.
2004-08-03 Ulrich Drepper <drepper@redhat.com> * nscd/connections.c (handle_request): Print more descriptive message for invalid request types.
Diffstat (limited to 'nscd')
-rw-r--r-- | nscd/connections.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/nscd/connections.c b/nscd/connections.c index 82f89c85e7..d9a3109d41 100644 --- a/nscd/connections.c +++ b/nscd/connections.c @@ -342,8 +342,10 @@ cannot handle old request version %d; current version is %d"), { if (req->type == INVALIDATE) dbg_log ("\t%s (%s)", serv2str[req->type], (char *)key); - else + else if (req > LASTDBREQ && req < LASTREQ) dbg_log ("\t%s", serv2str[req->type]); + else + dbg_log ("\tinvalid request type %d", req->type); } /* Handle the request. */ |