Permalink
Browse files

Fixed CR issue with Win32 version on MSYS.

Previous fix didnt work on Linux ...
  • Loading branch information...
1 parent 5d80017 commit 0f15ed1617b0798c0469103a8b431f5d5ce9b01c @gknauf gknauf committed Jul 20, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 tests/libtest/test1013.pl
@@ -14,10 +14,11 @@
open(CURL, "$ARGV[1]") || die "Can't get curl $what list\n";
while( <CURL> )
{
- $curl_protocols = lc($_ =~ s/\r//) if ( /$what:/i );
+ $curl_protocols = lc($_) if ( /$what:/i );
}
close CURL;
+$curl_protocols =~ s/\r//;
$curl_protocols =~ /\w+: (.*)$/;
@curl = split / /,$1;

0 comments on commit 0f15ed1

Please sign in to comment.