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;
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit