commit | 9dfaa63a1c0d1b8e75dd9d7077a8103a19821fa9 | [log] [tgz] |
---|---|---|
author | Nick Kralevich <nnk@google.com> | Mon Aug 27 16:00:50 2012 -0700 |
committer | android code review <noreply-gerritcodereview@google.com> | Mon Aug 27 16:00:50 2012 -0700 |
tree | 964de65aa1648cbe2326e3da2e01a94e7b2442b7 | |
parent | bc366292ff47ad9a5053e213ec253992baeee648 [diff] | |
parent | 3697b52605230d1479b662dceb27b4ef1fab0567 [diff] |
Merge "Allow linker to compile with -DLINKER_DEBUG=1"
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