diff options
author | Elliott Hughes <enh@google.com> | 2012-08-27 15:00:51 -0700 |
---|---|---|
committer | android code review <noreply-gerritcodereview@google.com> | 2012-08-27 15:00:51 -0700 |
commit | bc366292ff47ad9a5053e213ec253992baeee648 (patch) | |
tree | 7729246f32491c8e826008a4f8edc50ba7cdce5e | |
parent | a37ce7faa6d6c7355e3c6f6e09e5268cbf29c291 (diff) | |
parent | ce5ba8bfcd8ecfb7bfee4412f4f686cecc17e39b (diff) | |
download | bionic-bc366292ff47ad9a5053e213ec253992baeee648.zip bionic-bc366292ff47ad9a5053e213ec253992baeee648.tar.gz bionic-bc366292ff47ad9a5053e213ec253992baeee648.tar.bz2 |
Merge "Added missing cache failed notification"
-rw-r--r-- | libc/netbsd/resolv/res_send.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libc/netbsd/resolv/res_send.c b/libc/netbsd/resolv/res_send.c index 72a7ada..f3ee539 100644 --- a/libc/netbsd/resolv/res_send.c +++ b/libc/netbsd/resolv/res_send.c @@ -644,6 +644,11 @@ res_nsend(res_state statp, errno = ETIMEDOUT; /* no answer obtained */ } else errno = terrno; + +#if USE_RESOLV_CACHE + _resolv_cache_query_failed(cache, buf, buflen); +#endif + return (-1); fail: #if USE_RESOLV_CACHE |