1 |
/* Remote GNATS server. |
/* Remote GNATS server. |
2 |
Copyright (C) 2000, 2001 Milan Zamazal. |
Copyright (C) 1994, 95, 96, 1997, 1999, 2000, 2001, 2002 Free Software Foundation, Inc. |
|
Copyright (C) 1994, 95, 96, 1997, 1999, 2000 Free Software Foundation, Inc. |
|
3 |
Contributed by Brendan Kehoe (brendan@cygnus.com). |
Contributed by Brendan Kehoe (brendan@cygnus.com). |
4 |
Further hacked by Milan Zamazal (pdm@zamazal.org). |
Further hacked by Milan Zamazal (pdm@zamazal.org). |
5 |
|
|
282 |
char **pp; |
char **pp; |
283 |
#endif |
#endif |
284 |
|
|
285 |
hp = gethostbyaddr ((char *) host, sizeof (host), AF_INET); |
hp = gethostbyaddr ((char *) host, sizeof (*host), AF_INET); |
286 |
if (hp == NULL) |
if (hp == NULL) |
287 |
{ |
{ |
288 |
return NULL; |
return NULL; |