aboutsummaryrefslogtreecommitdiff
path: root/nscd/hstcache.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-03-17 18:30:37 +0000
committerUlrich Drepper <drepper@redhat.com>2000-03-17 18:30:37 +0000
commit7bfee6767d5d38c957de95c025e95fe6c5a05433 (patch)
tree32560c714cc463f7cc9f0568d3d68bdbb2bd1b67 /nscd/hstcache.c
parent4ae1869356ec212162cec5fac5a995c134fbd2c0 (diff)
downloadglibc-7bfee6767d5d38c957de95c025e95fe6c5a05433.zip
glibc-7bfee6767d5d38c957de95c025e95fe6c5a05433.tar.gz
glibc-7bfee6767d5d38c957de95c025e95fe6c5a05433.tar.bz2
Restore correct UID.
Diffstat (limited to 'nscd/hstcache.c')
-rw-r--r--nscd/hstcache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nscd/hstcache.c b/nscd/hstcache.c
index 253b76c..31afbdd 100644
--- a/nscd/hstcache.c
+++ b/nscd/hstcache.c
@@ -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);
}