summary refs log tree commit diff
path: root/nscd/pwdcache.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2003-04-28 05:30:22 +0000
committerUlrich Drepper <drepper@redhat.com>2003-04-28 05:30:22 +0000
commitfe453812315b3420771c0a1b5e5ea7d1d0626b93 (patch)
tree3ccd79fd33bb5fcaeac01101a434b4b382d46e59 /nscd/pwdcache.c
parenta16e35856aaedbb02fd1b6c55afc12994dd639b6 (diff)
downloadglibc-fe453812315b3420771c0a1b5e5ea7d1d0626b93.tar.gz
glibc-fe453812315b3420771c0a1b5e5ea7d1d0626b93.tar.xz
glibc-fe453812315b3420771c0a1b5e5ea7d1d0626b93.zip
Update.
2003-04-27  Ulrich Drepper  <drepper@redhat.com>

	* nscd/pwdcache.c: Initialize .version element in result.
	* nscd/grpcache.c: Likewise.
	* nscd/pwdcache.c: Likewise.
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;