From 5d80017fd6c498764cbbfe86496d62db675a37e8 Mon Sep 17 00:00:00 2001 From: Guenter Knauf Date: Fri, 20 Jul 2012 15:39:28 +0200 Subject: Fixed CR issue with Win32 version on MSYS. --- tests/libtest/test1013.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/libtest/test1013.pl b/tests/libtest/test1013.pl index 9ea7de02d..2f67717c5 100755 --- a/tests/libtest/test1013.pl +++ b/tests/libtest/test1013.pl @@ -14,7 +14,7 @@ my $curl_protocols=""; open(CURL, "$ARGV[1]") || die "Can't get curl $what list\n"; while( ) { - $curl_protocols = lc($_) if ( /$what:/i ); + $curl_protocols = lc($_ =~ s/\r//) if ( /$what:/i ); } close CURL; -- cgit v1.2.3