From d92de3a7e91760b25d6bac5cd05a64793ac46568 Mon Sep 17 00:00:00 2001 From: Steve Holme Date: Sun, 1 Dec 2013 20:22:44 +0000 Subject: multi.c: Fixed compilation warning warning: declaration of 'pipe' shadows a global declaration --- lib/multi.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib/multi.c') diff --git a/lib/multi.c b/lib/multi.c index 6363f5a33..ec45ecb17 100644 --- a/lib/multi.c +++ b/lib/multi.c @@ -1788,7 +1788,7 @@ CURLMcode curl_multi_cleanup(CURLM *multi_handle) if(GOOD_MULTI_HANDLE(multi)) { bool restore_pipe = FALSE; - SIGPIPE_VARIABLE(pipe); + SIGPIPE_VARIABLE(pipe_st); multi->type = 0; /* not good anymore */ @@ -1796,7 +1796,7 @@ CURLMcode curl_multi_cleanup(CURLM *multi_handle) close_all_connections(multi); if(multi->closure_handle) { - sigpipe_ignore(multi->closure_handle, &pipe); + sigpipe_ignore(multi->closure_handle, &pipe_st); restore_pipe = TRUE; multi->closure_handle->dns.hostcache = multi->hostcache; @@ -1844,7 +1844,7 @@ CURLMcode curl_multi_cleanup(CURLM *multi_handle) free(multi); if(restore_pipe) - sigpipe_restore(&pipe); + sigpipe_restore(&pipe_st); return CURLM_OK; } -- cgit v1.2.3