diff options
author | Ulrich Drepper <drepper@redhat.com> | 2006-10-11 16:29:13 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2006-10-11 16:29:13 +0000 |
commit | 6c7e1cf59e14689cf1af78550ba3f9b0f1302b2c (patch) | |
tree | 4f7e0074f66f74dd5a936358b9ae653c87dcf6c5 /nis/nis_defaults.c | |
parent | 8099361ecd23167ddbb8585a375cbacbcffb64c4 (diff) | |
download | glibc-6c7e1cf59e14689cf1af78550ba3f9b0f1302b2c.tar.gz |
* malloc/malloc.c (_int_malloc): Remove unused any_larger variable.
* nis/nis_defaults.c (__nis_default_access): Don't call getenv twice.
* nis/nis_subr.c (nis_getnames): Use __secure_getenv instead of getenv.
* sysdeps/generic/unsecvars.h: Add NIS_PATH.
Diffstat (limited to 'nis/nis_defaults.c')
-rw-r--r-- | nis/nis_defaults.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nis/nis_defaults.c b/nis/nis_defaults.c index 59fbbe4b26..ed79b59ec6 100644 --- a/nis/nis_defaults.c +++ b/nis/nis_defaults.c @@ -447,7 +447,7 @@ __nis_default_access (char *param, unsigned int defaults) { cptr = getenv ("NIS_DEFAULTS"); if (cptr != NULL && strstr (cptr, "access=") != NULL) - result = searchaccess (getenv ("NIS_DEFAULTS"), result); + result = searchaccess (cptr, result); } return result; |