From 16aac66378ca2ceccf03335e8880f8a326d4b00d Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Mon, 1 Mar 2004 22:35:28 +0000 Subject: Update. * nscd/nscd_getgr_r.c (nscd_getgr_r): Add missing initialization of return value. * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise. --- nscd/nscd_gethst_r.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'nscd/nscd_gethst_r.c') diff --git a/nscd/nscd_gethst_r.c b/nscd/nscd_gethst_r.c index 1089b967d0..438217b1d6 100644 --- a/nscd/nscd_gethst_r.c +++ b/nscd/nscd_gethst_r.c @@ -135,6 +135,9 @@ nscd_gethst_r (const char *key, size_t keylen, request_type type, return -1; } + /* No value found so far. */ + *result = NULL; + req.version = NSCD_VERSION; req.type = type; req.key_len = keylen; -- cgit v1.2.3