am 8c7f4777: am d2d8031d: am bc366292: Merge "Added missing cache failed notification"

* commit '8c7f4777ec2127a95f7f0aea3bf32fe9309a6ada':
  Added missing cache failed notification
This commit is contained in:
Elliott Hughes 2012-08-27 15:25:02 -07:00 committed by Android Git Automerger
commit ea108d8a66

View File

@ -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