summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
1b66054)
only defined if HAVE_GETHOSTBYNAME was defined and only used when
HAVE_GETHOSTBYNAME wasn't defined. I'm kind of surprised that never blew up
anywhere. Changed the definition conditional to match the usage conditional.
char *arguments[MAXARGS];
register struct hostent *hp;
register struct servent *sp;
char *arguments[MAXARGS];
register struct hostent *hp;
register struct servent *sp;
-/* we assume netent and getnetbyaddr come with gethostbyname */
-#ifdef HAVE_GETHOSTBYNAME
+#ifndef HAVE_GETHOSTBYNAME
register struct netent *np;
#endif
register struct netent *np;
#endif