Changeset 573

Show
Ignore:
Timestamp:
06/19/07 13:35:21 (1 year ago)
Author:
stephenson
Message:

I had messed up the parameter passing for _scoreLinks function. Fixed it now.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • honeyclient/branches/exp/stephenson-browser_headers/lib/HoneyClient/Agent/Driver/Browser.pm

    r570 r573  
    12691269 
    12701270sub _scoreLinks { 
    1271     my ($base, $content) = @_; 
     1271    my ($base, $content, %wordlists) = @_; 
     1272    my @good_words = @{$wordlists{good}}; 
     1273    my @bad_words = @{$wordlists{bad}}; 
    12721274    my %links = (); 
    12731275    my $url; 
    1274     my @goodwords; 
    1275     my @badwords; 
    12761276 
    12771277    # If the page is blank, there is no point trying to parse it