summaryrefslogtreecommitdiff
path: root/usr.bin/fetch
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>2008-08-28 16:05:45 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>2008-08-28 16:05:45 +0000
commit01fc2984e321cae6a12883ea137406828a49d0f6 (patch)
tree83fd29ffd32dcfd7b4dfeea72376e78836591684 /usr.bin/fetch
parent5d9570aa880dd67097a9f32db270ea52ee4b5688 (diff)
Notes
Diffstat (limited to 'usr.bin/fetch')
-rw-r--r--usr.bin/fetch/fetch.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/fetch/fetch.c b/usr.bin/fetch/fetch.c
index d19a25703f27..3dc276aaf719 100644
--- a/usr.bin/fetch/fetch.c
+++ b/usr.bin/fetch/fetch.c
@@ -364,7 +364,7 @@ fetch(char *URL, const char *path)
}
/* FTP specific flags */
- if (strcmp(url->scheme, "ftp") == 0) {
+ if (strcmp(url->scheme, SCHEME_FTP) == 0) {
if (p_flag)
strcat(flags, "p");
if (d_flag)
@@ -375,7 +375,7 @@ fetch(char *URL, const char *path)
}
/* HTTP specific flags */
- if (strcmp(url->scheme, "http") == 0) {
+ if (strcmp(url->scheme, SCHEME_HTTP) == 0) {
if (d_flag)
strcat(flags, "d");
if (A_flag)