]> git.eshelyaron.com Git - emacs.git/commitdiff
Deactivate the correct process
authorLars Ingebrigtsen <larsi@gnus.org>
Tue, 16 Feb 2016 05:47:55 +0000 (16:47 +1100)
committerLars Ingebrigtsen <larsi@gnus.org>
Tue, 16 Feb 2016 05:47:55 +0000 (16:47 +1100)
* src/process.c (wait_reading_process_output): Deactivate the
correct process on failure.

src/process.c

index ec31ea87c7bc956ea563bd329fa8121b552f724c..d78b04f977012422c1bcb10ad1abaf8b2a32e194 100644 (file)
@@ -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")));
                      }