mirror of
https://github.com/curl/curl.git
synced 2026-08-25 14:23:39 +03:00
curl: ignore SIGPIPE - compilation fix
This commit is contained in:
parent
5a053ffe80
commit
dd73c924ac
1 changed files with 2 additions and 2 deletions
|
|
@ -87,8 +87,8 @@ int main(int argc, char *argv[])
|
||||||
|
|
||||||
main_checkfds();
|
main_checkfds();
|
||||||
|
|
||||||
#ifdef HAVE_SIGNAL
|
#ifdef SIGPIPE
|
||||||
signal(SIGPIPE, SIG_IGN);
|
(void)signal(SIGPIPE, SIG_IGN);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
res = operate(&config, argc, argv);
|
res = operate(&config, argc, argv);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue