aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo Liu2010-08-03 14:22:23 +0200
committerJuanma Barranquero2010-08-03 14:22:23 +0200
commit9f982e22fac39e950f24cfe0329029f42395ef22 (patch)
tree300fc202ab38a1c285379c7ffac7db76abe8c34c
parent7561000b5c8f6356bfdb210de0003b81489054f9 (diff)
downloademacs-9f982e22fac39e950f24cfe0329029f42395ef22.tar.gz
emacs-9f982e22fac39e950f24cfe0329029f42395ef22.zip
* server.el (server-start): Simplify loop.
-rw-r--r--lisp/ChangeLog4
-rw-r--r--lisp/server.el2
2 files changed, 5 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 60a1b8a3f18..c6476ca1df5 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,7 @@
12010-08-03 Leo <sdl.web@gmail.com>
2
3 * server.el (server-start): Simplify loop.
4
12010-08-02 Stefan Monnier <monnier@iro.umontreal.ca> 52010-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
2 6
3 * frame.el (screen-height, screen-width, set-screen-width) 7 * frame.el (screen-height, screen-width, set-screen-width)
diff --git a/lisp/server.el b/lisp/server.el
index 1ac2fb5b361..b2198caec4c 100644
--- a/lisp/server.el
+++ b/lisp/server.el
@@ -577,7 +577,7 @@ server or call `M-x server-force-delete' to forcibly disconnect it.")
577 (loop 577 (loop
578 ;; The auth key is a 64-byte string of random chars in the 578 ;; The auth key is a 64-byte string of random chars in the
579 ;; range `!'..`~'. 579 ;; range `!'..`~'.
580 for i below 64 580 repeat 64
581 collect (+ 33 (random 94)) into auth 581 collect (+ 33 (random 94)) into auth
582 finally return (concat auth)))) 582 finally return (concat auth))))
583 (process-put server-process :auth-key auth-key) 583 (process-put server-process :auth-key auth-key)