diff options
author | Stefan Kangas <stefankangas@gmail.com> | 2022-09-07 02:59:50 +0200 |
---|---|---|
committer | Stefan Kangas <stefankangas@gmail.com> | 2022-09-07 03:00:14 +0200 |
commit | ca0a8b554a6e56dc988fcafc0778de373ff53489 (patch) | |
tree | 108b51ac29c26ebe1d562daa980c7415b6a62120 /lib-src | |
parent | e09872ccb3c4d190ba668b47512abf1c28c992d7 (diff) | |
download | emacs-ca0a8b554a6e56dc988fcafc0778de373ff53489.tar.gz |
; * lib-src/emacsclient.c (main): Fix previous change.
Diffstat (limited to 'lib-src')
-rw-r--r-- | lib-src/emacsclient.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib-src/emacsclient.c b/lib-src/emacsclient.c index 2e5d8d0cc24..9529b34725b 100644 --- a/lib-src/emacsclient.c +++ b/lib-src/emacsclient.c @@ -2149,9 +2149,9 @@ main (int argc, char **argv) act_on_signals (emacs_socket); rl = recv (emacs_socket, string, BUFSIZ, 0); retry = check_socket_timeout (rl); - if (retry) + if (retry && !saw_response) { - if (timeout > 0 && !saw_response) + if (timeout > 0) { /* Don't retry if we were given a --timeout flag. */ fprintf (stderr, "\nServer not responding; timed out after %lu seconds", |