add installation.sgml
[spider.git] / cmd / show / node.pl
index 2cdf84a380a84749def463fef204bff08544ca2b..d45cad36155a8e85ef49131ecb2e336cbd48bdf9 100644 (file)
@@ -26,8 +26,8 @@ my $count;
 # search thru the user for nodes
 unless (@call) {
        
-       my ($action, $key, $data);
-       for ($action = R_FIRST, $count = 0; !$DXUser::dbm->seq($key, $data, $action); $action = R_NEXT) {
+       my ($action, $key, $data) = (0,0,0);
+       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;