mirror of
https://github.com/opnsense/src.git
synced 2026-06-08 00:02:14 -04:00
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:
parent
ecc9c8e3cd
commit
afb5b8ed4d
1 changed files with 3 additions and 3 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Reference in a new issue