Restore correct UID.

This commit is contained in:
Ulrich Drepper 2000-03-17 18:30:37 +00:00
parent 4ae1869356
commit 7bfee6767d
2 changed files with 2 additions and 2 deletions

View file

@ -315,7 +315,7 @@ addhstbyname (struct database *db, int fd, request_header *req,
}
if (secure[hstdb])
seteuid (uid);
seteuid (oldeuid);
cache_addhst (db, fd, req, key, hst, uid);
}

View file

@ -224,7 +224,7 @@ addpwbyname (struct database *db, int fd, request_header *req,
}
if (secure[pwddb])
seteuid (c_uid);
seteuid (oldeuid);
cache_addpw (db, fd, req, key, pwd, c_uid);
}