Commit 26ff1ea6 authored by Steve Holme's avatar Steve Holme
Browse files

multi.c: Fixed compilation error introduced in commit a900d454

Systems that define SIGPIPE_VARIABLE as a noop would not compile as
restore_pipe was defined afterwards.
parent 59f1209f
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -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 */