link-checker commit: Fix broken fragment UI (was broken in revision 3.30).

changeset:   60:af2839038c48
user:        ville
date:        Mon Apr 12 15:38:12 2004 +0000
files:       bin/checklink
description:
Fix broken fragment UI (was broken in revision 3.30).


diff -r 56da923f3dbf -r af2839038c48 bin/checklink
--- a/bin/checklink	Mon Apr 12 11:56:17 2004 +0000
+++ b/bin/checklink	Mon Apr 12 15:38:12 2004 +0000
@@ -5,7 +5,7 @@
 # (c) 1999-2004 World Wide Web Consortium
 # based on Renaud Bruyeron's checklink.pl
 #
-# $Id: checklink,v 3.34 2004-04-12 11:56:17 ville Exp $
+# $Id: checklink,v 3.35 2004-04-12 15:38:12 ville Exp $
 #
 # This program is licensed under the W3C(r) Software License:
 #       http://www.w3.org/Consortium/Legal/copyright-software
@@ -106,7 +106,7 @@
   $PACKAGE       = 'W3C Link Checker';
   $PROGRAM       = 'W3C-checklink';
   $VERSION       = '3.9.3-dev';
-  my ($cvsver)   = q$Revision: 3.34 $ =~ /(\d+[\d\.]*\.\d+)/;
+  my ($cvsver)   = q$Revision: 3.35 $ =~ /(\d+[\d\.]*\.\d+)/;
   $REVISION      = sprintf('version %s [%s] (c) 1999-2004 W3C',
                            $VERSION, $cvsver);
   $AGENT         = sprintf('%s/%s [%s] %s',
@@ -1731,7 +1731,7 @@
   my ($u, $results) = @_;
 
   if ($results->{$u}{location}{record} == 200) {
-    return $results->{$u}{location}{orig};
+    return $results->{$u}{location}{orig} || $results->{$u}{location}{record};
   } else {
     return $results->{$u}{location}{record};
   }

Received on Thursday, 5 August 2010 14:47:08 UTC