]> granicus.if.org Git - curl/commitdiff
Fixed CR issue with Win32 version on MSYS.
authorGuenter Knauf <lists@gknw.net>
Fri, 20 Jul 2012 13:39:28 +0000 (15:39 +0200)
committerGuenter Knauf <lists@gknw.net>
Fri, 20 Jul 2012 13:39:28 +0000 (15:39 +0200)
tests/libtest/test1013.pl

index 9ea7de02d778be2b224594b01e556cad9681c7e1..2f67717c5dc3ede7ee278ab9ae1c831a4a1219a0 100755 (executable)
@@ -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;