Commit d4bb0b92 authored by Lars Ingebrigtsen's avatar Lars Ingebrigtsen

Deactivate the correct process

* src/process.c (wait_reading_process_output): Deactivate the
correct process on failure.
parent ac6e085c
......@@ -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")));
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment