]> code.delx.au - gnu-emacs-elpa/commitdiff
Add missing string-to-int form.
authorJohn Wiegley <johnw@newartisans.com>
Fri, 24 Jan 2003 22:15:10 +0000 (22:15 +0000)
committerJohn Wiegley <johnw@newartisans.com>
Fri, 24 Jan 2003 22:15:10 +0000 (22:15 +0000)
chess-network.el

index 143e758704537516935d60ec83804989535ab972..ea181fce5ac3172d1f97bb071399aa5e2514a670 100644 (file)
                  (if (fboundp 'open-network-stream-server)
                      (open-network-stream-server "*chess-network*"
                                                  (current-buffer)
-                                                 (read-string "Port: "))
+                                                 (string-to-int
+                                                  (read-string "Port: ")))
                    (start-process "*chess-network*"
                                   (current-buffer) "/usr/bin/nc"
                                   "-l" "-p" (read-string "Port: ")))