emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/lisp/server.el,v


From: Juanma Barranquero
Subject: [Emacs-diffs] Changes to emacs/lisp/server.el,v
Date: Fri, 25 Jan 2008 15:43:05 +0000

CVSROOT:        /sources/emacs
Module name:    emacs
Changes by:     Juanma Barranquero <lektu>      08/01/25 15:43:05

Index: server.el
===================================================================
RCS file: /sources/emacs/emacs/lisp/server.el,v
retrieving revision 1.158
retrieving revision 1.159
diff -u -b -r1.158 -r1.159
--- server.el   21 Jan 2008 12:05:28 -0000      1.158
+++ server.el   25 Jan 2008 15:43:05 -0000      1.159
@@ -767,7 +767,7 @@
   (server-log (concat "Received " string) proc)
   ;; First things first: let's check the authentication
   (unless (process-get proc :authenticated)
-    (if (and (string-match "-auth \\(.*?\\)\n" string)
+    (if (and (string-match "-auth \\([!-~]+\\)\n?" string)
             (equal (match-string 1 string) (process-get proc :auth-key)))
        (progn
          (setq string (substring string (match-end 0)))




reply via email to

[Prev in Thread] Current Thread [Next in Thread]