# HG changeset patch # User Juanma Barranquero # Date 1201275818 0 # Node ID e66c061f496617b196ccecef43fadd973514a8d6 # Parent fdac3d75dcdb6716877cfc79fa03f8b6a788ee6d (set_tcp_socket): Don't send a "\n" after the authentication string; there's no need to haste. diff -r fdac3d75dcdb -r e66c061f4966 lib-src/emacsclient.c --- 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);