Remove url.c test

This commit is contained in:
Cameron Kaiser 2010-08-12 09:25:43 -07:00 committed by Daniel Stenberg
parent 795107453d
commit 65629f2915

View File

@ -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 */