summaryrefslogtreecommitdiff
path: root/mysys/my_gethostbyname.c
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
commit6e5952d087b8686242e28850ce958df0b00499d7 (patch)
tree2453294ee2c53f12136dbb3d49254b64d1a9d033 /mysys/my_gethostbyname.c
parent370016677af391c58c03a0eca198936b3ac5d382 (diff)
downloadmariadb-git-6e5952d087b8686242e28850ce958df0b00499d7.tar.gz
Portability fix (for HPUX)
Diffstat (limited to 'mysys/my_gethostbyname.c')
-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;