]> jspc29.x-matter.uni-frankfurt.de Git - daqtools.git/commitdiff
*** empty log message ***
authorhadaq <hadaq>
Wed, 14 Nov 2012 23:00:26 +0000 (23:00 +0000)
committerhadaq <hadaq>
Wed, 14 Nov 2012 23:00:26 +0000 (23:00 +0000)
cts/htdocs/thresh/get.pl

index 77508040a9168b91593a0aa88a1500a084960ba5..9d7e55c5ec05d6ce60a15f412696282797d9b8cf 100755 (executable)
@@ -31,6 +31,7 @@ if($amount != 1) {
     }
   else {
     my $chunk = $amount/$split;
+    if($amount%$split) {$chunk++;}
     my $i = 0;
     my @hits;
     do {
@@ -60,4 +61,4 @@ else {
   
   }
   
-exit 1;
\ No newline at end of file
+exit 1;