diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | nscd/connections.c | 4 |
2 files changed, 8 insertions, 1 deletions
@@ -1,3 +1,8 @@ +2004-08-03 Ulrich Drepper <drepper@redhat.com> + + * nscd/connections.c (handle_request): Print more descriptive + message for invalid request types. + 2004-08-02 Jakub Jelinek <jakub@redhat.com> * iconvdata/ibm932.c (BODY): Avoid binary search for ch >= 0xffff. diff --git a/nscd/connections.c b/nscd/connections.c index 82f89c8..d9a3109 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. */ |