Ignore:
Timestamp:
Mar 2, 2007 2:35:57 PM (13 years ago)
Author:
bennylp
Message:

Fixed ticket #156: Not enough memory to parse DNS packets in resolver (thanks Frank Wiersma)

File:
1 edited

Legend:

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

    r974 r1031  
    116116                  rr->rdata.cname.name.ptr)); 
    117117    } else if (rr->type == PJ_DNS_TYPE_A) { 
    118         PJ_LOG(3,(THIS_FILE, "    IP address: %.*s", 
    119                   (int)rr->rdata.a.ip_addr.slen, 
    120                   rr->rdata.a.ip_addr.ptr)); 
     118        PJ_LOG(3,(THIS_FILE, "    IP address: %s", 
     119                  pj_inet_ntoa(rr->rdata.a.ip_addr))); 
    121120    } 
    122121} 
Note: See TracChangeset for help on using the changeset viewer.