SVN: toys/rsget.pl/Get/TurboBit

pawelz pawelz at pld-linux.org
Wed Jul 28 16:09:24 CEST 2010


Author: pawelz
Date: Wed Jul 28 16:09:24 2010
New Revision: 11722

Modified:
   toys/rsget.pl/Get/TurboBit
Log:
- use RESTART( irand( 10, 60 ) instead of MULTI


Modified: toys/rsget.pl/Get/TurboBit
==============================================================================
--- toys/rsget.pl/Get/TurboBit	(original)
+++ toys/rsget.pl/Get/TurboBit	Wed Jul 28 16:09:24 2010
@@ -39,7 +39,7 @@
 	CLICK( $1 );
 
 stage_captcha:
-	MULTI ( "received empty page, restarting" ) unless length $_;
+	RESTART( irand( 10, 60 ), "received empty page, restarting" ) unless length $_;
 	RESTART ( 10, "recaptcha is not supported, restarting" ) if m#src="http://api\.recaptcha\.net/challenge.*"#;
 	if ( m#<img alt="Captcha" src="(.*?)"# ) {
 		$-{capimg} = $1;


More information about the pld-cvs-commit mailing list