diff options
author | Ulrich Drepper <drepper@redhat.com> | 2004-10-11 20:50:24 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2004-10-11 20:50:24 +0000 |
commit | 4e1c4a1670ded7695d0054822669ff7bec7b95cb (patch) | |
tree | bb33b6d0e20e9e92d3317302c4565680664cdf7b /resolv/res_init.c | |
parent | f433b06b83edf37ec819dc1f99a4d14caa68f83f (diff) | |
download | glibc-4e1c4a1670ded7695d0054822669ff7bec7b95cb.tar glibc-4e1c4a1670ded7695d0054822669ff7bec7b95cb.tar.gz glibc-4e1c4a1670ded7695d0054822669ff7bec7b95cb.tar.bz2 glibc-4e1c4a1670ded7695d0054822669ff7bec7b95cb.zip |
[BZ #434]
Update.
* resolv/res_init.c (res_thread_freeres): Reset _res.options.
[BZ #434]
Diffstat (limited to 'resolv/res_init.c')
-rw-r--r-- | resolv/res_init.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/resolv/res_init.c b/resolv/res_init.c index 4087597a87..731c784e17 100644 --- a/resolv/res_init.c +++ b/resolv/res_init.c @@ -597,6 +597,9 @@ res_thread_freeres (void) free (_res._u._ext.nsaddrs[ns]); _res._u._ext.nsaddrs[ns] = NULL; } + + /* Make sure we do a full re-initialization the next time. */ + _res.options = 0; } text_set_element (__libc_thread_subfreeres, res_thread_freeres); text_set_element (__libc_subfreeres, res_thread_freeres); |