1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-23 00:28:48 -05:00

curl: ignore SIGPIPE - compilation fix

This commit is contained in:
Yang Tse 2013-01-09 01:30:08 +01:00
parent 5a053ffe80
commit dd73c924ac

View File

@ -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);