aboutsummaryrefslogtreecommitdiffstats
path: root/src/process.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/process.c')
-rw-r--r--src/process.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/process.c b/src/process.c
index 0c8fc43dd12..b232e331151 100644
--- a/src/process.c
+++ b/src/process.c
@@ -4602,6 +4602,10 @@ check_for_dns (Lisp_Object proc)
4602 if (! p->dns_requests) 4602 if (! p->dns_requests)
4603 return Qnil; 4603 return Qnil;
4604 4604
4605 /* This process should not already be connected (or killed). */
4606 if (p->infd != 0)
4607 return Qnil;
4608
4605 ret = gai_error (p->dns_requests[0]); 4609 ret = gai_error (p->dns_requests[0]);
4606 if (ret == EAI_INPROGRESS) 4610 if (ret == EAI_INPROGRESS)
4607 return Qt; 4611 return Qt;