Ignore:
Timestamp:
Apr 27, 2012 1:32:12 AM (8 years ago)
Author:
bennylp
Message:

Re #1474: merged r4100-4107

Location:
pjproject/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk

  • pjproject/trunk/pjsip/src/pjsip/sip_resolve.c

    r3553 r4108  
    264264            count = 1; 
    265265            status = pj_getaddrinfo(af, &target->addr.host, &count, &ai); 
    266             if (status != PJ_SUCCESS) 
     266            if (status != PJ_SUCCESS) { 
     267                /* "Normalize" error to PJ_ERESOLVE. This is a special error 
     268                 * because it will be translated to SIP status 502 by 
     269                 * sip_transaction.c 
     270                 */ 
     271                status = PJ_ERESOLVE; 
    267272                goto on_error; 
     273            } 
    268274 
    269275            svr_addr.entry[0].addr.addr.sa_family = (pj_uint16_t)af; 
Note: See TracChangeset for help on using the changeset viewer.