commit | bc366292ff47ad9a5053e213ec253992baeee648 | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Mon Aug 27 15:00:51 2012 -0700 |
committer | android code review <noreply-gerritcodereview@google.com> | Mon Aug 27 15:00:51 2012 -0700 |
tree | 7729246f32491c8e826008a4f8edc50ba7cdce5e | |
parent | a37ce7faa6d6c7355e3c6f6e09e5268cbf29c291 [diff] | |
parent | ce5ba8bfcd8ecfb7bfee4412f4f686cecc17e39b [diff] |
Merge "Added missing cache failed notification"
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 @@ 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