X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=downloads.cl;h=7b528d4bdde327496463939929a1a03d21395087;hb=e353aaac49cd38ef3549b5e706ba0eaf48a50b14;hp=2fdfe8a68a98bd5c569bd9d504d1f2b9e4b3f7b7;hpb=eee9ff5b9dc97f0b31c5bc951486b63cc7e6e298;p=lml.git diff --git a/downloads.cl b/downloads.cl index 2fdfe8a..7b528d4 100644 --- a/downloads.cl +++ b/downloads.cl @@ -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" *ftp-url* ftp-name basename)