1. Tamas Kovacs
  2. slimv

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

  • Participants
  • Parent commits c8b4d0d
  • Branches default

Comments (0)

Files changed (1)

File slime/start-swank.lisp

View file
  • Ignore whitespace
     #+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)