try absolute R_NEXT
[spider.git] / cmd / show / node.pl
index 2cdf84a380a84749def463fef204bff08544ca2b..76372cb5a318c6467a8c4f34bbe3d622407e69c0 100644 (file)
@@ -27,7 +27,7 @@ my $count;
 unless (@call) {
        
        my ($action, $key, $data);
-       for ($action = R_FIRST, $count = 0; !$DXUser::dbm->seq($key, $data, $action); $action = R_NEXT) {
+       for ($action = DXUser::R_FIRST, $count = 0; !$DXUser::dbm->seq($key, $data, $action); $action = DXUser::R_NEXT) {
                if ($data =~ m{sort => '[ACRSX]'}) {
                    push @call, $key;
                        ++$count;