diff options
Diffstat (limited to 'lib/sigpipe.h')
-rw-r--r-- | lib/sigpipe.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/sigpipe.h b/lib/sigpipe.h index 6559c7424..800f9d3b4 100644 --- a/lib/sigpipe.h +++ b/lib/sigpipe.h @@ -38,10 +38,10 @@ struct sigpipe_ignore { * internals, and then sigpipe_restore() will restore the situation when we * return from libcurl again. */ -static void sigpipe_ignore(struct SessionHandle *data, +static void sigpipe_ignore(struct Curl_easy *data, struct sigpipe_ignore *ig) { - /* get a local copy of no_signal because the SessionHandle might not be + /* get a local copy of no_signal because the Curl_easy might not be around when we restore */ ig->no_signal = data->set.no_signal; if(!data->set.no_signal) { |