Commits

Federico Churca-Torrusio committed 07672ed

Fixed type for default port in start-swank.lisp
As parse-integer expects a string, the default value for a missing SWANK_PORT
environment variable should be "4005" as a string instead of 4005 as an integer

Comments (0)

Files changed (1)

slime/start-swank.lisp

     #+LISPWORKS (lispworks:environment-variable name)
     default))
 
-(swank:create-server :port (parse-integer (my-getenv "SWANK_PORT" 4005))
+(swank:create-server :port (parse-integer (my-getenv "SWANK_PORT" "4005"))
                      ;; if non-nil the connection won't be closed
                      ;; after connecting
                      :dont-close t)