cURL / Mailing Lists / curl-library / Single Mail

curl-library

[PATCH 3/3] Remove url.c test

From: Cameron Kaiser <ckaiser_at_floodgap.com>
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
--ELM1281630453-21620-0_
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
--ELM1281630453-21620-0_--
Received on 2001-09-17