multi.c: Fixed compilation error introduced in commit a900d45489fc14
authorSteve Holme <steve_holme@hotmail.com>
Wed, 27 Nov 2013 22:44:09 +0000 (22:44 +0000)
committerSteve Holme <steve_holme@hotmail.com>
Wed, 27 Nov 2013 23:45:45 +0000 (23:45 +0000)
Systems that define SIGPIPE_VARIABLE as a noop would not compile as
restore_pipe was defined afterwards.

lib/multi.c

index df8befa..6363f5a 100644 (file)
@@ -1787,8 +1787,8 @@ CURLMcode curl_multi_cleanup(CURLM *multi_handle)
   struct SessionHandle *nextdata;
 
   if(GOOD_MULTI_HANDLE(multi)) {
-    SIGPIPE_VARIABLE(pipe);
     bool restore_pipe = FALSE;
+    SIGPIPE_VARIABLE(pipe);
 
     multi->type = 0; /* not good anymore */