aboutsummaryrefslogtreecommitdiff
path: root/nscd
diff options
context:
space:
mode:
Diffstat (limited to 'nscd')
-rw-r--r--nscd/connections.c4
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. */