From 7c11c4a14684f23babd5060931529f095b8f81d3 Mon Sep 17 00:00:00 2001
From: Ulrich Drepper <drepper@redhat.com>
Date: Wed, 4 Aug 2004 21:58:10 +0000
Subject: (do_release_all): Add __libc_freeres_fn_section.

---
 nscd/connections.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'nscd/connections.c')

diff --git a/nscd/connections.c b/nscd/connections.c
index 9db9b15..f8efcc2 100644
--- a/nscd/connections.c
+++ b/nscd/connections.c
@@ -342,7 +342,7 @@ 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 if (req > LASTDBREQ && req < LASTREQ)
+      else if (req->type > LASTDBREQ && req->type < LASTREQ)
 	dbg_log ("\t%s", serv2str[req->type]);
       else
 	dbg_log (_("\tinvalid request type %d"), req->type);
-- 
cgit v1.1