summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorunknown <monty@hundin.mysql.fi>2002-06-29 01:00:56 +0300
committerunknown <monty@hundin.mysql.fi>2002-06-29 01:00:56 +0300
commitb91009de455522d001b1f5da79b08d03ba6b9c3f (patch)
tree2453294ee2c53f12136dbb3d49254b64d1a9d033
parent0377bc6ca36ab564fd37a8a4d5bcbd696df6b64c (diff)
downloadmariadb-git-b91009de455522d001b1f5da79b08d03ba6b9c3f.tar.gz
Portability fix (for HPUX)
-rw-r--r--mysys/my_gethostbyname.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/mysys/my_gethostbyname.c b/mysys/my_gethostbyname.c
index 1380257f660..f21a880350b 100644
--- a/mysys/my_gethostbyname.c
+++ b/mysys/my_gethostbyname.c
@@ -56,7 +56,6 @@ struct hostent *my_gethostbyname_r(const char *name,
struct hostent *result, char *buffer,
int buflen, int *h_errnop)
{
- DBUG_ASSERT(buflen >= sizeof(struct hostent_data));
if (gethostbyname_r(name,result,(struct hostent_data *) buffer) == -1)
{
*h_errnop= errno;