diff options
author | des <des@FreeBSD.org> | 2000-10-28 20:53:02 +0000 |
---|---|---|
committer | des <des@FreeBSD.org> | 2000-10-28 20:53:02 +0000 |
commit | 24f27bdb948eee33f69437d08daf0617f88ff3d3 (patch) | |
tree | 2975cc89e26149aaf0f329f9032bdd07b023adac | |
parent | dd714aa7f1a96044fe252507d54a474c7e51038a (diff) | |
download | FreeBSD-src-24f27bdb948eee33f69437d08daf0617f88ff3d3.zip FreeBSD-src-24f27bdb948eee33f69437d08daf0617f88ff3d3.tar.gz |
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.
-rw-r--r-- | lib/libfetch/ftp.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libfetch/ftp.c b/lib/libfetch/ftp.c index ec74ba2..30e8826 100644 --- a/lib/libfetch/ftp.c +++ b/lib/libfetch/ftp.c @@ -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; |