W3C home > Mailing lists > Public > www-validator-cvs@w3.org > August 2010

link-checker commit: Fix doc of ip_allowed() return value.

From: Mercurial notifier <nobody@w3.org>
Date: Thu, 05 Aug 2010 14:47:08 +0000
To: link-checker updates <www-validator-cvs@w3.org>
Message-Id: <E1Oh1iu-0005rE-0j@blinky.w3.org>
changeset:   169:f9948ce1bb36
user:        ville
date:        Sat Jul 28 10:41:15 2007 +0000
files:       bin/checklink
description:
Fix doc of ip_allowed() return value.


diff -r 02061e596822 -r f9948ce1bb36 bin/checklink
--- a/bin/checklink	Sat Jul 28 08:02:19 2007 +0000
+++ b/bin/checklink	Sat Jul 28 10:41:15 2007 +0000
@@ -5,7 +5,7 @@
 # (c) 1999-2007 World Wide Web Consortium
 # based on Renaud Bruyeron's checklink.pl
 #
-# $Id: checklink,v 4.53 2007-07-28 08:02:19 ville Exp $
+# $Id: checklink,v 4.54 2007-07-28 10:41:15 ville Exp $
 #
 # This program is licensed under the W3C(r) Software License:
 #       http://www.w3.org/Consortium/Legal/copyright-software
@@ -128,7 +128,7 @@
   $PROGRAM     = 'W3C-checklink';
   $VERSION     = '4.3';
   $REVISION    = sprintf('version %s (c) 1999-2007 W3C', $VERSION);
-  my ($cvsver) = q$Revision: 4.53 $ =~ /(\d+[\d\.]*\.\d+)/;
+  my ($cvsver) = q$Revision: 4.54 $ =~ /(\d+[\d\.]*\.\d+)/;
   $AGENT       = sprintf('%s/%s [%s] %s',
                          $PROGRAM, $VERSION, $cvsver, LWP::RobotUA->_agent());
 
@@ -1876,7 +1876,7 @@
 #
 # Checks whether we're allowed to retrieve the document based on it's IP
 # address.  Takes an URI object and returns a HTTP::Response containing the
-# appropriate status and error message if the IP was disallowed, undef
+# appropriate status and error message if the IP was disallowed, 0
 # otherwise.  URIs without hostname or IP address are always allowed,
 # including schemes where those make no sense (eg. data:, often javascript:).
 #
Received on Thursday, 5 August 2010 14:47:27 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:17:43 UTC