Fix bug in handling of URL bindings (thanks Aaron Hsu). Closes
authorChris Hanson <org/chris-hanson/cph>
Mon, 17 Sep 2007 05:07:13 +0000 (05:07 +0000)
committerChris Hanson <org/chris-hanson/cph>
Mon, 17 Sep 2007 05:07:13 +0000 (05:07 +0000)
savannah #21096.

v7/src/ssp/mod-lisp.scm

index 85ca13668fea257d9c84b14b9b7595801c0167d2..5ab0da7197529897a0dc960b5f7675ad52f6723c 100644 (file)
@@ -1,6 +1,6 @@
 #| -*-Scheme-*-
 
-$Id: mod-lisp.scm,v 1.35 2007/02/08 03:36:18 cph Exp $
+$Id: mod-lisp.scm,v 1.36 2007/09/17 05:07:13 cph Exp $
 
 Copyright (C) 1986, 1987, 1988, 1989, 1990, 1991, 1992, 1993, 1994,
     1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
@@ -744,7 +744,7 @@ USA.
                          (assq name (cdar bindings))
                          (or (not binding)
                              (fix:> (string-length (caar bindings))
-                                    (string-length binding))))
+                                    (string-length (car binding)))))
                     (car bindings)
                     binding)))
          (binding