Ignore:
Timestamp:
Jan 20, 2007 5:11:08 AM (15 years ago)
Author:
bennylp
Message:

Fix ticket #71: When host doesn't have any NIC interfaces, pj_gethostip() should return 127.0.0.1 instead of error

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip/src/pjsua-lib/pjsua_core.c

    r881 r885  
    881881        status = pj_gethostip(&p_pub_addr->sin_addr); 
    882882        if (status != PJ_SUCCESS) { 
     883            pjsua_perror(THIS_FILE, "Unable to get local host IP", status); 
    883884            pj_sock_close(sock); 
    884885            return status; 
Note: See TracChangeset for help on using the changeset viewer.