diff options
author | Juanma Barranquero <lekktu@gmail.com> | 2008-01-25 15:46:07 +0000 |
---|---|---|
committer | Juanma Barranquero <lekktu@gmail.com> | 2008-01-25 15:46:07 +0000 |
commit | 5ab73228619adb09dea84e4abf01a11cf5a6f024 (patch) | |
tree | 361e0da01c9416dbbf28fcc2f2e6feb45c8270e8 /lib-src | |
parent | 38b9f0f370787df00241e25cdb83aa4373801d60 (diff) | |
download | emacs-5ab73228619adb09dea84e4abf01a11cf5a6f024.tar.gz |
(set_tcp_socket): Don't send a "\n" after the authentication string;
there's no need to haste.
Diffstat (limited to 'lib-src')
-rw-r--r-- | lib-src/ChangeLog | 5 | ||||
-rw-r--r-- | lib-src/emacsclient.c | 6 |
2 files changed, 8 insertions, 3 deletions
diff --git a/lib-src/ChangeLog b/lib-src/ChangeLog index 05d8af126bb..c1fb7e9293f 100644 --- a/lib-src/ChangeLog +++ b/lib-src/ChangeLog @@ -1,3 +1,8 @@ +2008-01-25 Juanma Barranquero <lekktu@gmail.com> + + * emacsclient.c (set_tcp_socket): Don't send "\n" after + the authentication string; there's no need to haste. + 2008-01-22 Chong Yidong <cyd@stupidchicken.com> * pop.c (pop_stat, pop_last): Fix last fix. diff --git a/lib-src/emacsclient.c b/lib-src/emacsclient.c index 568b6c18119..b8ab19721ff 100644 --- a/lib-src/emacsclient.c +++ b/lib-src/emacsclient.c @@ -229,7 +229,7 @@ xstrdup (const char *s) /* 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 @@ set_tcp_socket () 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 @@ handle_sigtstp (int signalnum) 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); |