aboutsummaryrefslogtreecommitdiff
path: root/nscd/grpcache.c
diff options
context:
space:
mode:
Diffstat (limited to 'nscd/grpcache.c')
-rw-r--r--nscd/grpcache.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/nscd/grpcache.c b/nscd/grpcache.c
index a8b33ca..11a2e71 100644
--- a/nscd/grpcache.c
+++ b/nscd/grpcache.c
@@ -152,6 +152,7 @@ cache_addgr (struct database *db, int fd, request_header *req, void *key,
/* There is no reason to go on. */
error (EXIT_FAILURE, errno, _("while allocating cache entry"));
+ data->resp.version = NSCD_VERSION;
data->resp.found = 1;
data->resp.gr_name_len = gr_name_len;
data->resp.gr_passwd_len = gr_passwd_len;