From d8f2b9ea8cf4fb6d043f2dbbeaaca04d4fd70fc6 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Wed, 16 Sep 1998 18:29:58 +0000 Subject: Update. 1998-09-16 Ulrich Drepper * nscd/grpcache.c (save_grp): Partly undo last change. * nscd/pwdcache.c (save_pwd): Undo last change. --- nscd/pwdcache.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'nscd/pwdcache.c') diff --git a/nscd/pwdcache.c b/nscd/pwdcache.c index 12d18dd..85b4fe9 100644 --- a/nscd/pwdcache.c +++ b/nscd/pwdcache.c @@ -146,15 +146,15 @@ save_pwd (struct passwd *src) cp = (char *) (dest + 1); dest->pw_name = cp; - cp = mempcpy (cp, src->pw_name, name_len) + 1; + cp = mempcpy (cp, src->pw_name, name_len); dest->pw_passwd = cp; - cp = mempcpy (cp, src->pw_passwd, passwd_len) + 1; + cp = mempcpy (cp, src->pw_passwd, passwd_len); dest->pw_uid = src->pw_uid; dest->pw_gid = src->pw_gid; dest->pw_gecos = cp; - cp = mempcpy (cp, src->pw_gecos, gecos_len) + 1; + cp = mempcpy (cp, src->pw_gecos, gecos_len); dest->pw_dir = cp; - cp = mempcpy (cp, src->pw_dir, dir_len) + 1; + cp = mempcpy (cp, src->pw_dir, dir_len); dest->pw_shell = cp; mempcpy (cp, src->pw_shell, shell_len); -- cgit v1.1