curl-library
[PATCH 3/4] Remove url.c test
From: Cameron Kaiser <ckaiser_at_floodgap.com>
Date: Thu, 12 Aug 2010 09:25:43 -0700
Date: Thu, 12 Aug 2010 09:25:43 -0700
---
lib/url.c | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
diff --git a/lib/url.c b/lib/url.c
index abc349a..ed01cc7 100644
--- a/lib/url.c
+++ b/lib/url.c
@@ -3479,11 +3479,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 */
--
1.7.1
--ELM1282599678-19722-0_
Content-Type: text/plain; charset=US-ASCII
Content-Disposition: attachment;
filename=0004-Gopher-using-Curl_write-test-suite-4-tests.patch
Content-Description: 0004-Gopher-using-Curl_write-test-suite-4-tests.patch
Content-Transfer-Encoding: 7bit
Received on 2001-09-17