changeset 87965:e66c061f4966

(set_tcp_socket): Don't send a "\n" after the authentication string; there's no need to haste.
author Juanma Barranquero <lekktu@gmail.com>
date Fri, 25 Jan 2008 15:43:38 +0000
parents fdac3d75dcdb
children bf987d1f70f3
files lib-src/emacsclient.c
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/lib-src/emacsclient.c	Fri Jan 25 15:43:05 2008 +0000
+++ b/lib-src/emacsclient.c	Fri Jan 25 15:43:38 2008 +0000
@@ -229,7 +229,7 @@
 
 
 /* Return the current working directory.  Returns NULL on errors.
-   Any other returned value must be freed with free. This is used
+   Any other returned value must be freed with free.  This is used
    only when get_current_dir_name is not defined on the system.  */
 char*
 get_current_dir_name ()
@@ -1010,7 +1010,7 @@
 
   send_to_emacs (s, "-auth ");
   send_to_emacs (s, auth_string);
-  send_to_emacs (s, "\n");
+  send_to_emacs (s, " ");
 
   return s;
 }
@@ -1100,7 +1100,7 @@
   if (emacs_socket)
     send_to_emacs (emacs_socket, "-suspend \n");
 
-  /* Unblock this signal and call the default handler by temprarily
+  /* Unblock this signal and call the default handler by temporarily
      changing the handler and resignalling. */
   sigprocmask (SIG_BLOCK, NULL, &set);
   sigdelset (&set, signalnum);