mirror of
https://github.com/moparisthebest/curl
synced 2024-12-22 16:18:48 -05:00
curl: ignore SIGPIPE - compilation fix
This commit is contained in:
parent
5a053ffe80
commit
dd73c924ac
@ -87,8 +87,8 @@ int main(int argc, char *argv[])
|
||||
|
||||
main_checkfds();
|
||||
|
||||
#ifdef HAVE_SIGNAL
|
||||
signal(SIGPIPE, SIG_IGN);
|
||||
#ifdef SIGPIPE
|
||||
(void)signal(SIGPIPE, SIG_IGN);
|
||||
#endif
|
||||
|
||||
res = operate(&config, argc, argv);
|
||||
|
Loading…
Reference in New Issue
Block a user