Eliminate 3 more examples of gratutiously passing arrays by address.

Everyone please call ParaSoft today and say "I will buy 57 copies of
Insure++ tomorrow, but first I want a FreeBSD version." :-)
This commit is contained in:
Jordan K. Hubbard 1996-12-05 18:41:35 +00:00
parent ecc9c8e3cd
commit afb5b8ed4d

View file

@ -227,14 +227,14 @@ again:
#ifdef YP
if (*p == '+' && _yp_check(NULL)) {
if (___getservbyname_yp != NULL) {
if (!_getservbyname_yp(&line))
if (!_getservbyname_yp(line))
goto tryagain;
}
else if (___getservbyport_yp != 0) {
if (!_getservbyport_yp(&line))
if (!_getservbyport_yp(line))
goto tryagain;
}
else if (!_getservent_yp(&line))
else if (!_getservent_yp(line))
goto tryagain;
}
unpack: