aboutsummaryrefslogtreecommitdiff
path: root/nscd/pwdcache.c
diff options
context:
space:
mode:
Diffstat (limited to 'nscd/pwdcache.c')
-rw-r--r--nscd/pwdcache.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/nscd/pwdcache.c b/nscd/pwdcache.c
index 2f78884d88..f6ca001a87 100644
--- a/nscd/pwdcache.c
+++ b/nscd/pwdcache.c
@@ -145,6 +145,7 @@ cache_addpw (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.pw_name_len = pw_name_len;
data->resp.pw_passwd_len = pw_passwd_len;