]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Fix an inverted conditional in the netrc code, which would ignore the
authordes <des@FreeBSD.org>
Tue, 29 May 2018 13:07:36 +0000 (13:07 +0000)
committerdes <des@FreeBSD.org>
Tue, 29 May 2018 13:07:36 +0000 (13:07 +0000)
commit34a324be57c7ca1fe5a2def3de2079d86c3e6fac
tree1fb244ecce9750c2a55f6701834aceeb15208f04
parenta4e83add6a35231e2efefba1484a95ce790c3d51
Fix an inverted conditional in the netrc code, which would ignore the
value of $HOME and always use the home directory from the passwd
database, unless $HOME was unset, in which case it would use (null).

While there, clean up handling of netrcfd and add debugging aids.

MFC after: 3 weeks
lib/libfetch/common.c
lib/libfetch/fetch.c
lib/libfetch/ftp.c