- From: Mercurial notifier <nobody@w3.org>
- Date: Thu, 05 Aug 2010 14:47:12 +0000
- To: link-checker updates <www-validator-cvs@w3.org>
changeset: 212:c6588d64f6e0 user: ville date: Sun Feb 10 11:59:11 2008 +0000 files: bin/checklink description: Improve variable naming in parse_document(). diff -r 89ee21e51aea -r c6588d64f6e0 bin/checklink --- a/bin/checklink Sun Feb 10 11:57:21 2008 +0000 +++ b/bin/checklink Sun Feb 10 11:59:11 2008 +0000 @@ -5,7 +5,7 @@ # (c) 1999-2007 World Wide Web Consortium # based on Renaud Bruyeron's checklink.pl # -# $Id: checklink,v 4.82 2008-02-10 11:57:21 ville Exp $ +# $Id: checklink,v 4.83 2008-02-10 11:59:11 ville Exp $ # # This program is licensed under the W3C(r) Software License: # http://www.w3.org/Consortium/Legal/copyright-software @@ -244,7 +244,7 @@ $PROGRAM = 'W3C-checklink'; $VERSION = '4.3'; $REVISION = sprintf('version %s (c) 1999-2007 W3C', $VERSION); - my ($cvsver) = q$Revision: 4.82 $ =~ /(\d+[\d\.]*\.\d+)/; + my ($cvsver) = q$Revision: 4.83 $ =~ /(\d+[\d\.]*\.\d+)/; $AGENT = sprintf('%s/%s [%s] %s', $PROGRAM, $VERSION, $cvsver, LWP::RobotUA->_agent()); @@ -1310,7 +1310,7 @@ sub parse_document ($$$$$) { - my ($uri, $location, $response, $links, $rec_needs_links) = @_; + my ($uri, $base_uri, $response, $links, $rec_needs_links) = @_; my $p; @@ -1330,7 +1330,7 @@ my $start; $p = W3C::LinkChecker->new(); - $p->{base} = $location; + $p->{base} = $base_uri; if (! $Opts{Summary_Only}) { $start = &get_timestamp(); print("Parsing...\n");
Received on Thursday, 5 August 2010 14:47:28 UTC