Merge "Added missing cache failed notification"
This commit is contained in:
commit
bc366292ff
1 changed files with 5 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue