Fixed CR issue with Win32 version on MSYS.
This commit is contained in:
@@ -14,7 +14,7 @@ my $curl_protocols="";
|
||||
open(CURL, "$ARGV[1]") || die "Can't get curl $what list\n";
|
||||
while( <CURL> )
|
||||
{
|
||||
$curl_protocols = lc($_) if ( /$what:/i );
|
||||
$curl_protocols = lc($_ =~ s/\r//) if ( /$what:/i );
|
||||
}
|
||||
close CURL;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user