Skip to content
Snippets Groups Projects
Commit dd73c924 authored by Yang Tse's avatar Yang Tse
Browse files

curl: ignore SIGPIPE - compilation fix

parent 5a053ffe
No related branches found
No related tags found
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment