From: Lars Ingebrigtsen Date: Tue, 16 Feb 2016 05:47:55 +0000 (+1100) Subject: Deactivate the correct process X-Git-Tag: emacs-26.0.90~2520^2~9 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=d4bb0b923b30c78ea18e4744c7a9ab6f3f2c4b1b;p=emacs.git Deactivate the correct process * src/process.c (wait_reading_process_output): Deactivate the correct process on failure. --- 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"))); }