mirror of
https://github.com/opnsense/src.git
synced 2026-04-20 21:59:20 -04:00
Properly initialize netrcfd in fetchParseURL
This fixes ftp with fetch(1) which was broken after r313974 Submitted by: dim Reported by: olivier Pointyhat to: bapt
This commit is contained in:
parent
924233eb75
commit
5d1ce10bee
1 changed files with 1 additions and 0 deletions
|
|
@ -350,6 +350,7 @@ fetchParseURL(const char *URL)
|
|||
fetch_syserr();
|
||||
return (NULL);
|
||||
}
|
||||
u->netrcfd = -2;
|
||||
|
||||
/* scheme name */
|
||||
if ((p = strstr(URL, ":/"))) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue