Changeset 3826 for pjproject


Ignore:
Timestamp:
Oct 18, 2011 9:41:56 AM (13 years ago)
Author:
ming
Message:

Re #1342: Fix wrong #ifdef condition

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/branches/1.x/pjlib/src/pj/sock_common.c

    r3693 r3826  
    785785    PJ_SOCKADDR_RESET_LEN(addr); 
    786786 
    787 #if defined(PJ_GETHOSTIP_DISABLE_LOCAL_RESOLUTION) && \ 
    788     PJ_GETHOSTIP_DISABLE_LOCAL_RESOLUTION != 0 
     787#if !defined(PJ_GETHOSTIP_DISABLE_LOCAL_RESOLUTION) || \ 
     788    PJ_GETHOSTIP_DISABLE_LOCAL_RESOLUTION == 0 
    789789    /* Get hostname's IP address */ 
    790790    count = 1; 
Note: See TracChangeset for help on using the changeset viewer.