port-solaris.c:218: bad compare ?

Darren Tucker dtucker at zip.com.au
Wed Oct 26 08:48:51 AEDT 2016


On Tue, Oct 25, 2016 at 5:18 PM, David Binderman <dcb314 at hotmail.com> wrote:
[...]
> Maybe better code
>
>     if ((defaultproject = getdefaultproj(pw->pw_name, &tempproject, &buf,
>         sizeof(buf))) != 0) {

Applied, thanks (although I used NULL rather than bare 0 since that's
what the style guide says).

-- 
Darren Tucker (dtucker at zip.com.au)
GPG key 11EAA6FA / A86E 3E07 5B19 5880 E860  37F4 9357 ECEF 11EA A6FA (new)
    Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.


More information about the openssh-unix-dev mailing list