From 92ead82d1afb314f702841b42505efcedfce472a Mon Sep 17 00:00:00 2001 From: Chris Hanson Date: Wed, 17 Jan 2007 16:04:37 +0000 Subject: [PATCH] Fix thinko. --- v7/src/runtime/url.scm | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/v7/src/runtime/url.scm b/v7/src/runtime/url.scm index 4c02db291..5188b825b 100644 --- a/v7/src/runtime/url.scm +++ b/v7/src/runtime/url.scm @@ -1,6 +1,6 @@ #| -*-Scheme-*- -$Id: url.scm,v 1.49 2007/01/17 03:31:00 cph Exp $ +$Id: url.scm,v 1.50 2007/01/17 16:04:37 cph Exp $ Copyright (C) 1986, 1987, 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, @@ -333,10 +333,10 @@ USA. ;; Kludge: take advantage of fact that (NOT (NOT #!DEFAULT)). (let* ((do-parse (lambda (string) - (let ((uri (*parse-string parser string))) - (if (and (not uri) caller) + (let ((v (*parse-string parser string))) + (if (and (not v) caller) (error:bad-range-argument object caller)) - uri))) + (vector-ref v 0)))) (do-string (lambda (string) (or (hash-table/get interned-uris string #f) -- 2.25.1