summaryrefslogtreecommitdiff
path: root/ndb/src/common/portlib
diff options
context:
space:
mode:
authorjoreland@mysql.com <>2004-12-17 10:36:14 +0100
committerjoreland@mysql.com <>2004-12-17 10:36:14 +0100
commitcfa20fbaa6d2b35cfd5023c3f1eae2287aaae853 (patch)
tree415dace493b0f4c1982e36cb17b6a6008150149b /ndb/src/common/portlib
parent1f55f7784d5c883289919e9be5d25f5dd6e9342b (diff)
parent533b5dcc78eee48284a072a70a465e5beca57f2a (diff)
downloadmariadb-git-cfa20fbaa6d2b35cfd5023c3f1eae2287aaae853.tar.gz
merge
Diffstat (limited to 'ndb/src/common/portlib')
-rw-r--r--ndb/src/common/portlib/NdbTCP.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/ndb/src/common/portlib/NdbTCP.cpp b/ndb/src/common/portlib/NdbTCP.cpp
index 35b0c8c21e4..a63f5a7ba27 100644
--- a/ndb/src/common/portlib/NdbTCP.cpp
+++ b/ndb/src/common/portlib/NdbTCP.cpp
@@ -22,7 +22,7 @@
extern "C"
int
Ndb_getInAddr(struct in_addr * dst, const char *address) {
- DBUG_ENTER("Ndb_getInAddr");
+ // DBUG_ENTER("Ndb_getInAddr");
{
int tmp_errno;
struct hostent tmp_hostent, *hp;
@@ -33,7 +33,7 @@ Ndb_getInAddr(struct in_addr * dst, const char *address) {
{
memcpy(dst, hp->h_addr, min(sizeof(*dst), (size_t) hp->h_length));
my_gethostbyname_r_free();
- DBUG_RETURN(0);
+ return 0; //DBUG_RETURN(0);
}
my_gethostbyname_r_free();
}
@@ -47,11 +47,11 @@ Ndb_getInAddr(struct in_addr * dst, const char *address) {
#endif
)
{
- DBUG_RETURN(0);
+ return 0; //DBUG_RETURN(0);
}
- DBUG_PRINT("error",("inet_addr(%s) - %d - %s",
- address, errno, strerror(errno)));
- DBUG_RETURN(-1);
+ // DBUG_PRINT("error",("inet_addr(%s) - %d - %s",
+ // address, errno, strerror(errno)));
+ return -1; //DBUG_RETURN(-1);
}
#if 0