1
0
mirror of https://github.com/moparisthebest/curl synced 2024-08-13 17:03:50 -04:00

Fixed CR issue with Win32 version on MSYS.

This commit is contained in:
Guenter Knauf 2012-07-20 15:39:28 +02:00
parent e1711b0e9a
commit 5d80017fd6

View File

@ -14,7 +14,7 @@ my $curl_protocols="";
open(CURL, "$ARGV[1]") || die "Can't get curl $what list\n"; open(CURL, "$ARGV[1]") || die "Can't get curl $what list\n";
while( <CURL> ) while( <CURL> )
{ {
$curl_protocols = lc($_) if ( /$what:/i ); $curl_protocols = lc($_ =~ s/\r//) if ( /$what:/i );
} }
close CURL; close CURL;