summaryrefslogtreecommitdiff
path: root/nscd/connections.c
diff options
context:
space:
mode:
Diffstat (limited to 'nscd/connections.c')
-rw-r--r--nscd/connections.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nscd/connections.c b/nscd/connections.c
index 3f05d685ef..4daa09926d 100644
--- a/nscd/connections.c
+++ b/nscd/connections.c
@@ -412,7 +412,7 @@ nscd_run (void *p)
continue;
}
- if (req.type < GETPWBYNAME || req.type >= LASTREQ
+ if (req.type < GETPWBYNAME || req.type > LASTDBREQ
|| secure[serv2db[req.type]])
uid = caller.uid;
}