aboutsummaryrefslogtreecommitdiff
path: root/lib/file.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2011-05-05 15:14:19 +0200
committerDaniel Stenberg <daniel@haxx.se>2011-05-05 15:14:19 +0200
commit51075a6777576a0676a77a49c250a8aba7ea3097 (patch)
tree5784af63cef0e50cae68b84591f58c010d306cd4 /lib/file.c
parent4508ea103f26f0b5b8d717e41aea11b65f067248 (diff)
remove FILE protocol-specific checks
Also, convert the BANPROXY flag into NONETWORK for the protocols (file:// only atm) that don't work over networks.
Diffstat (limited to 'lib/file.c')
-rw-r--r--lib/file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/file.c b/lib/file.c
index a3d80fbd7..6fe4c4979 100644
--- a/lib/file.c
+++ b/lib/file.c
@@ -129,7 +129,7 @@ const struct Curl_handler Curl_handler_file = {
ZERO_NULL, /* disconnect */
0, /* defport */
CURLPROTO_FILE, /* protocol */
- PROTOPT_BANPROXY /* flags */
+ PROTOPT_NONETWORK /* flags */
};