aboutsummaryrefslogtreecommitdiff
path: root/lib/urldata.h
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/urldata.h
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/urldata.h')
-rw-r--r--lib/urldata.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/urldata.h b/lib/urldata.h
index d6e126ceb..3f080520a 100644
--- a/lib/urldata.h
+++ b/lib/urldata.h
@@ -698,7 +698,7 @@ struct Curl_handler {
the send function might need to be called while uploading, or vice versa.
*/
#define PROTOPT_DIRLOCK (1<<3)
-#define PROTOPT_BANPROXY (1<<4) /* not allowed to use proxy */
+#define PROTOPT_NONETWORK (1<<4) /* protocol doesn't use the network! */
/* return the count of bytes sent, or -1 on error */