aboutsummaryrefslogtreecommitdiff
path: root/lib/multi.c
diff options
context:
space:
mode:
authorSteve Holme <steve_holme@hotmail.com>2013-11-27 22:44:09 +0000
committerSteve Holme <steve_holme@hotmail.com>2013-11-27 23:45:45 +0000
commit26ff1ea6c33fb624793909ca17a6ff57cecca004 (patch)
tree10afb95f3a9d80ad3fd109050dafad4e681a2f9e /lib/multi.c
parent59f1209fadb6a32f7a957318d881185480580e91 (diff)
multi.c: Fixed compilation error introduced in commit a900d45489fc14
Systems that define SIGPIPE_VARIABLE as a noop would not compile as restore_pipe was defined afterwards.
Diffstat (limited to 'lib/multi.c')
-rw-r--r--lib/multi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/multi.c b/lib/multi.c
index df8befa48..6363f5a33 100644
--- a/lib/multi.c
+++ b/lib/multi.c
@@ -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 */