Ignore:
Timestamp:
Oct 8, 2006 1:56:07 PM (15 years ago)
Author:
bennylp
Message:

Added pjlib-util/config.h and pjlib-util/types.h to put
together common settings, and updated Doxygen documentation
for PJLIB-UTIL.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjlib-util/src/pjlib-util/resolver.c

    r753 r754  
    949949    /* Calculate expiration time. */ 
    950950    if (set_expiry) { 
    951         if (pkt->hdr.anscount == 0) { 
     951        if (pkt->hdr.anscount == 0 || status != PJ_SUCCESS) { 
    952952            /* If we don't have answers for the name, then give a different 
    953953             * ttl value (note: PJ_DNS_RESOLVER_INVALID_TTL may be zero,  
Note: See TracChangeset for help on using the changeset viewer.