Author: poeml Date: Sun Nov 29 12:32:54 2009 New Revision: 7879 URL: http://svn.mirrorbrain.org/viewvc/mirrorbrain?rev=7879&view=rev Log: scanner: - fix a (cosmetic) warning that appeared since r7857 (removal of dead code) Modified: trunk/tools/scanner.pl Modified: trunk/tools/scanner.pl URL: http://svn.mirrorbrain.org/viewvc/mirrorbrain/trunk/tools/scanner.pl?rev=7879&r1=7878&r2=7879&view=diff ============================================================================== --- trunk/tools/scanner.pl (original) +++ trunk/tools/scanner.pl Sun Nov 29 12:32:54 2009 @@ -345,7 +345,7 @@ $sql = "SELECT COUNT(*) FROM filearr WHERE $row->{id} = ANY(mirrors);"; print "$sql\n" if $sqlverbose; - my $ary_ref = $dbh->selectall_arrayref($sql) or die $dbh->errstr(); + $ary_ref = $dbh->selectall_arrayref($sql) or die $dbh->errstr(); $file_count = defined($ary_ref->[0]) ? $ary_ref->[0][0] : 0; print localtime(time) . " $row->{identifier}: total files after scan: $file_count\n"; _______________________________________________ mirrorbrain-commits mailing list Archive: http://mirrorbrain.org/archive/mirrorbrain-commits/ Note: To remove yourself from this list, send a mail with the content unsubscribe to the address mirrorbrain-commits-request_at_mirrorbrain.orgReceived on Sun Nov 29 2009 - 11:32:58 GMT
This archive was generated by hypermail 2.2.0 : Sun Nov 29 2009 - 11:45:11 GMT