]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Restore correct UID.
authorUlrich Drepper <drepper@redhat.com>
Fri, 17 Mar 2000 18:29:55 +0000 (18:29 +0000)
committerUlrich Drepper <drepper@redhat.com>
Fri, 17 Mar 2000 18:29:55 +0000 (18:29 +0000)
nscd/hstcache.c

index 702a958631dba33b2626a489f555e1b47a752740..479c1bf803eda1d8f77ed31b538a2f86e44dbfa7 100644 (file)
@@ -318,7 +318,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);
 }