aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 */