Subject: Re: bug#24811: 26.0.50; backtrace

From: Lars Ingebrigtsen <[email-masked]>
Date: Tue, 01 Nov 2016 20:10:48 +0100

I really mean.  :-)

diff --git a/src/process.c b/src/process.c
index 8cf045c..8b89498 100644
--- a/src/process.c
+++ b/src/process.c
@@ -3088,6 +3088,12 @@ finish_after_tls_connection (Lisp_Object proc)
 		    Fplist_get (contact, QChost),
 		    Fplist_get (contact, QCservice));
 
+  if (p->outfd < 0) {
+    pset_status (p, Qfailed);
+    deactivate_process (proc);
+    return;
+  }
+
   if (NILP (result))
     {
       pset_status (p, list2 (Qfailed,

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no