From: Paul Eggert Date: Sun, 20 Mar 2011 02:41:23 +0000 (-0700) Subject: * process.c (Fmake_network_process): Define label "retry_connect" only if needed. X-Git-Tag: emacs-pretest-24.0.90~104^2~275^2~513^2~30 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=4dc343ee3651cfefa2091788f4749a71ccbe741b;p=emacs.git * process.c (Fmake_network_process): Define label "retry_connect" only if needed. --- 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)