From: Don Armstrong Date: Tue, 22 Jul 2008 04:18:14 +0000 (+0000) Subject: * fix rand() call in get_sgf X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=3a6030d8a66bc575df6f63dce5d54391f99d704c;p=bin.git * fix rand() call in get_sgf --- diff --git a/get_sgf b/get_sgf index 0ce9a6e..117912a 100755 --- a/get_sgf +++ b/get_sgf @@ -139,7 +139,7 @@ for my $url (@ARGV) { $m->save_content('temp.ps'); last VALID_LOOP; } - $sleep = 240+int(rand*120); + $sleep = 240+int(rand()*120); print STDERR "Failure to download content, waiting $sleep seconds\n"; $m = $state; } while (sleep $sleep);