curl: ignore SIGPIPE - compilation fix - follow-up
This commit is contained in:
@@ -87,7 +87,7 @@ int main(int argc, char *argv[])
|
|||||||
|
|
||||||
main_checkfds();
|
main_checkfds();
|
||||||
|
|
||||||
#ifdef SIGPIPE
|
#if defined(HAVE_SIGNAL) && defined(SIGPIPE)
|
||||||
(void)signal(SIGPIPE, SIG_IGN);
|
(void)signal(SIGPIPE, SIG_IGN);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user