SVN: toys/rsget.pl/RSGet/Processor.pm

sparky sparky at pld-linux.org
Sat Oct 24 03:03:59 CEST 2009


Author: sparky
Date: Sat Oct 24 03:03:59 2009
New Revision: 10845

Modified:
   toys/rsget.pl/RSGet/Processor.pm
Log:
- display correct error after click_download


Modified: toys/rsget.pl/RSGet/Processor.pm
==============================================================================
--- toys/rsget.pl/RSGet/Processor.pm	(original)
+++ toys/rsget.pl/RSGet/Processor.pm	Sat Oct 24 03:03:59 2009
@@ -33,7 +33,7 @@
 	$is_sub--;
 
 	my $error = 'unexpected end of script';
-	if ( $last_cmd and $last_cmd eq "download" ) {
+	if ( $last_cmd and $last_cmd =~ /(?:click_)?download/ ) {
 		$error = 'download is a HTML page';
 	}
 	$last_cmd = undef;


More information about the pld-cvs-commit mailing list