mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Fix this my way. David had absolutely no call overriding MAINTAINER without
even giving me 24 hours to read his mail and find the bug.
This commit is contained in:
parent
f18255c68b
commit
7ca2f6ae1f
1 changed files with 3 additions and 3 deletions
|
|
@ -887,7 +887,7 @@ fetchXGetFTP(struct url *url, struct url_stat *us, char *flags)
|
|||
int cd;
|
||||
|
||||
/* get the proxy URL, and check if we should use HTTP instead */
|
||||
if (flags && !strchr(flags, 'd') && (purl = _ftp_get_proxy()) != NULL) {
|
||||
if (!(flags && strchr(flags, 'd')) && (purl = _ftp_get_proxy()) != NULL) {
|
||||
if (strcasecmp(purl->scheme, SCHEME_HTTP) == 0)
|
||||
return _http_request(url, "GET", us, purl, flags);
|
||||
} else {
|
||||
|
|
@ -934,7 +934,7 @@ fetchPutFTP(struct url *url, char *flags)
|
|||
int cd;
|
||||
|
||||
/* get the proxy URL, and check if we should use HTTP instead */
|
||||
if (flags && !strchr(flags, 'd') && (purl = _ftp_get_proxy()) != NULL) {
|
||||
if (!(flags && strchr(flags, 'd')) && (purl = _ftp_get_proxy()) != NULL) {
|
||||
if (strcasecmp(purl->scheme, SCHEME_HTTP) == 0)
|
||||
/* XXX HTTP PUT is not implemented, so try without the proxy */
|
||||
purl = NULL;
|
||||
|
|
@ -968,7 +968,7 @@ fetchStatFTP(struct url *url, struct url_stat *us, char *flags)
|
|||
int cd;
|
||||
|
||||
/* get the proxy URL, and check if we should use HTTP instead */
|
||||
if (flags && !strchr(flags, 'd') && (purl = _ftp_get_proxy()) != NULL) {
|
||||
if (!(flags && strchr(flags, 'd')) && (purl = _ftp_get_proxy()) != NULL) {
|
||||
if (strcasecmp(purl->scheme, SCHEME_HTTP) == 0) {
|
||||
FILE *f;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue