mirror of
https://github.com/moparisthebest/curl
synced 2024-08-13 17:03:50 -04:00
multi.c: Fixed compilation error introduced in commit a900d45489
Systems that define SIGPIPE_VARIABLE as a noop would not compile as restore_pipe was defined afterwards.
This commit is contained in:
parent
59f1209fad
commit
26ff1ea6c3
@ -1787,8 +1787,8 @@ CURLMcode curl_multi_cleanup(CURLM *multi_handle)
|
|||||||
struct SessionHandle *nextdata;
|
struct SessionHandle *nextdata;
|
||||||
|
|
||||||
if(GOOD_MULTI_HANDLE(multi)) {
|
if(GOOD_MULTI_HANDLE(multi)) {
|
||||||
SIGPIPE_VARIABLE(pipe);
|
|
||||||
bool restore_pipe = FALSE;
|
bool restore_pipe = FALSE;
|
||||||
|
SIGPIPE_VARIABLE(pipe);
|
||||||
|
|
||||||
multi->type = 0; /* not good anymore */
|
multi->type = 0; /* not good anymore */
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user