summaryrefslogtreecommitdiff
path: root/lib/libfetch
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2017-03-03 12:51:16 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2017-03-03 12:51:16 +0000
commit5d1ce10bee2d232114aa38fa7be889374b70639b (patch)
tree955f5f4cf090c65142cc69e94ec083734d962a7b /lib/libfetch
parent924233eb75618e4bf22cae7f7703e8d6617a9a53 (diff)
downloadsrc-test2-5d1ce10bee2d232114aa38fa7be889374b70639b.tar.gz
src-test2-5d1ce10bee2d232114aa38fa7be889374b70639b.zip
Notes
Diffstat (limited to 'lib/libfetch')
-rw-r--r--lib/libfetch/fetch.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libfetch/fetch.c b/lib/libfetch/fetch.c
index 6b3148ebe27f..dd6b98f04bbd 100644
--- a/lib/libfetch/fetch.c
+++ b/lib/libfetch/fetch.c
@@ -350,6 +350,7 @@ fetchParseURL(const char *URL)
fetch_syserr();
return (NULL);
}
+ u->netrcfd = -2;
/* scheme name */
if ((p = strstr(URL, ":/"))) {