summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCameron Kaiser <ckaiser@floodgap.com>2010-08-12 09:25:43 -0700
committerDaniel Stenberg <daniel@haxx.se>2010-08-25 14:19:58 +0200
commit65629f2915d1b23193fbe4fb3697702ce2fc7e87 (patch)
treeeda52f081b9375323d97ce319f7c023796622835
parent795107453db9fd750ff817ad77b4d91c9601fd66 (diff)
downloadcurl-65629f2915d1b23193fbe4fb3697702ce2fc7e87.tar.gz
Remove url.c test
-rw-r--r--lib/url.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/url.c b/lib/url.c
index 6b312eb11..99f1e7d12 100644
--- a/lib/url.c
+++ b/lib/url.c
@@ -3487,11 +3487,8 @@ static CURLcode findprotocol(struct SessionHandle *data,
if(Curl_raw_equal(p->scheme, protostr)) {
/* Protocol found in table. Check if allowed */
if(!(data->set.allowed_protocols & p->protocol))
-{
/* nope, get out */
- fprintf(stderr, "well, shit\n");
break;
-}
/* it is allowed for "normal" request, now do an extra check if this is
the result of a redirect */