diff options
| -rw-r--r-- | src/process.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/process.c b/src/process.c index 43fb6abaa9e..8cfa48db505 100644 --- a/src/process.c +++ b/src/process.c | |||
| @@ -3489,7 +3489,7 @@ usage: (make-network-process &rest ARGS) */) | |||
| 3489 | int family = -1; | 3489 | int family = -1; |
| 3490 | int ai_protocol = 0; | 3490 | int ai_protocol = 0; |
| 3491 | #ifdef HAVE_GETADDRINFO_A | 3491 | #ifdef HAVE_GETADDRINFO_A |
| 3492 | struct gaicb **dns_requests; | 3492 | struct gaicb **dns_requests = NULL; |
| 3493 | #endif | 3493 | #endif |
| 3494 | ptrdiff_t count = SPECPDL_INDEX (); | 3494 | ptrdiff_t count = SPECPDL_INDEX (); |
| 3495 | 3495 | ||
| @@ -3819,8 +3819,6 @@ usage: (make-network-process &rest ARGS) */) | |||
| 3819 | here will be nil, so we postpone connecting to the server. */ | 3819 | here will be nil, so we postpone connecting to the server. */ |
| 3820 | if (!p->is_server && NILP (ip_addresses)) | 3820 | if (!p->is_server && NILP (ip_addresses)) |
| 3821 | { | 3821 | { |
| 3822 | int channel; | ||
| 3823 | |||
| 3824 | p->dns_requests = dns_requests; | 3822 | p->dns_requests = dns_requests; |
| 3825 | p->status = Qconnect; | 3823 | p->status = Qconnect; |
| 3826 | dns_processes = Fcons (proc, dns_processes); | 3824 | dns_processes = Fcons (proc, dns_processes); |