Loading ndb/src/common/portlib/NdbTCP.cpp +8 −1 Original line number Diff line number Diff line Loading @@ -39,7 +39,14 @@ Ndb_getInAddr(struct in_addr * dst, const char *address) { /* Try it as aaa.bbb.ccc.ddd. */ dst->s_addr = inet_addr(address); if (dst->s_addr != INADDR_NONE) { if (dst->s_addr != #ifdef INADDR_NONE INADDR_NONE #else -1 #endif ) { return 0; } return -1; Loading Loading
ndb/src/common/portlib/NdbTCP.cpp +8 −1 Original line number Diff line number Diff line Loading @@ -39,7 +39,14 @@ Ndb_getInAddr(struct in_addr * dst, const char *address) { /* Try it as aaa.bbb.ccc.ddd. */ dst->s_addr = inet_addr(address); if (dst->s_addr != INADDR_NONE) { if (dst->s_addr != #ifdef INADDR_NONE INADDR_NONE #else -1 #endif ) { return 0; } return -1; Loading