Changeset 536
- Timestamp:
- 06/18/07 13:02:11 (1 year ago)
- Files:
-
- honeyclient/branches/exp/mbriggs-db/lib/HoneyClient/Agent.pm (modified) (1 diff)
- honeyclient/branches/exp/mbriggs-db/lib/HoneyClient/Agent/Driver/Browser.pm (modified) (1 diff)
- honeyclient/branches/exp/mbriggs-db/t/honeyclient_manager_vm_clone.t (copied) (copied from honeyclient/trunk/t/honeyclient_manager_vm_clone.t)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
honeyclient/branches/exp/mbriggs-db/lib/HoneyClient/Agent.pm
r425 r536 1027 1027 1028 1028 } else { 1029 1029 1030 1030 # If we've gotten this far, then the run() thread is no longer active, 1031 1031 # which means that we have to manually update the driver state honeyclient/branches/exp/mbriggs-db/lib/HoneyClient/Agent/Driver/Browser.pm
r416 r536 1501 1501 scalar(keys(%{$self->links_ignored})); 1502 1502 1503 # Figure out if the next_link_to_visit is set. 1504 my $next_link_is_set = 0; 1505 if (defined($self->next_link_to_visit)) { 1506 $next_link_is_set = 1; 1507 } 1508 1503 1509 # Set the number of relative links to process. 1504 $status->{relative_links_remaining} = scalar(keys(%{$self->relative_links_to_visit})); 1510 $status->{relative_links_remaining} = scalar(keys(%{$self->relative_links_to_visit})) + 1511 $next_link_is_set; 1505 1512 1506 1513 # Figure out how many total links are left to process. 1507 $status->{links_remaining} = scalar(keys(%{$self->relative_links_to_visit}))+1514 $status->{links_remaining} = $status->{relative_links_remaining} + 1508 1515 scalar(keys(%{$self->links_to_visit})); 1509 1516
