And one more, to remove my irritated little outburst in url.c when trying
to figure out what the protocol mask should be.

-- 
------------------------------------ personal: http://www.cameronkaiser.com/ --
  Cameron Kaiser * Floodgap Systems * www.floodgap.com * [email protected]
-- The less we know, the better we feel. -- David Bowie, "Miracle Goodnight" --
>From 4730844b7bad8081e517423539260b3218079083 Mon Sep 17 00:00:00 2001
From: Cameron Kaiser <[email protected]>
Date: Thu, 12 Aug 2010 09:25:43 -0700
Subject: [PATCH 3/3] Remove url.c test

---
 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

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html

Reply via email to