Changeset 754 for pjproject/trunk/pjlib-util/src/pjlib-util/resolver.c
- Timestamp:
- Oct 8, 2006 1:56:07 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjlib-util/src/pjlib-util/resolver.c
r753 r754 949 949 /* Calculate expiration time. */ 950 950 if (set_expiry) { 951 if (pkt->hdr.anscount == 0 ) {951 if (pkt->hdr.anscount == 0 || status != PJ_SUCCESS) { 952 952 /* If we don't have answers for the name, then give a different 953 953 * ttl value (note: PJ_DNS_RESOLVER_INVALID_TTL may be zero,
Note: See TracChangeset
for help on using the changeset viewer.