r2682: Auto commit for Debian build
authorKevin M. Rosenberg <kevin@rosenberg.net>
Mon, 16 Sep 2002 03:43:44 +0000 (03:43 +0000)
committerKevin M. Rosenberg <kevin@rosenberg.net>
Mon, 16 Sep 2002 03:43:44 +0000 (03:43 +0000)
downloads.cl

index 2fdfe8a68a98bd5c569bd9d504d1f2b9e4b3f7b7..7b528d4bdde327496463939929a1a03d21395087 100644 (file)
@@ -7,7 +7,7 @@
 ;;;; Programmer:    Kevin M. Rosenberg
 ;;;; Date Started:  Aug 2002
 ;;;;
-;;;; $Id: downloads.cl,v 1.6 2002/09/16 03:35:27 kevin Exp $
+;;;; $Id: downloads.cl,v 1.7 2002/09/16 03:43:44 kevin Exp $
 ;;;;
 ;;;; This file, part of LML, is Copyright (c) 2002 by Kevin M. Rosenberg
 ;;;;
@@ -50,7 +50,7 @@
                                  :type (pathname-type file))))
        (ftp-name (strip-ftp-base file))
        (sig-path (concatenate 'string (namestring file) ".asc")))
-    (when basename
+    (when (plusp (length basename))
       (with-open-file (strm file :direction :input)
                      (setq size (round (/ (file-length strm) 1024))))
       (lml-print "<a href=\"~A~A\">~A</a>" *ftp-url* ftp-name basename)