From 4dc343ee3651cfefa2091788f4749a71ccbe741b Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Sat, 19 Mar 2011 19:41:23 -0700 Subject: [PATCH] * process.c (Fmake_network_process): Define label "retry_connect" only if needed. --- src/ChangeLog | 1 + src/process.c | 2 ++ 2 files changed, 3 insertions(+) diff --git a/src/ChangeLog b/src/ChangeLog index df1c683b4eb..41cf56e47f0 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -4,6 +4,7 @@ (list_processes_1, Fmake_network_process): (read_process_output_error_handler, exec_sentinel_error_handler): Rename or move locals. + (Fmake_network_process): Define label "retry_connect" only if needed. 2011-03-19 Paul Eggert diff --git a/src/process.c b/src/process.c index 952bc8e23da..fb6dc95bb31 100644 --- a/src/process.c +++ b/src/process.c @@ -3403,7 +3403,9 @@ usage: (make-network-process &rest ARGS) */) { int optn, optbits; +#ifdef WINDOWSNT retry_connect: +#endif s = socket (lres->ai_family, lres->ai_socktype, lres->ai_protocol); if (s < 0) -- 2.39.2