From d4bb0b923b30c78ea18e4744c7a9ab6f3f2c4b1b Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Tue, 16 Feb 2016 16:47:55 +1100 Subject: [PATCH] Deactivate the correct process * src/process.c (wait_reading_process_output): Deactivate the correct process on failure. --- src/process.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/process.c b/src/process.c index ec31ea87c7b..d78b04f9770 100644 --- a/src/process.c +++ b/src/process.c @@ -4923,7 +4923,7 @@ wait_reading_process_output (intmax_t time_limit, int nsecs, int read_kbd, else if (p->gnutls_handshakes_tried > GNUTLS_EMACS_HANDSHAKES_LIMIT) { - deactivate_process (proc); + deactivate_process (aproc); pset_status (p, list2 (Qfailed, build_string ("TLS negotiation failed"))); } -- 2.39.5