mirror of
https://github.com/MariaDB/server.git
synced 2026-05-10 17:14:30 +02:00
Portability fix (for HPUX)
This commit is contained in:
parent
370016677a
commit
6e5952d087
1 changed files with 0 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue