Commit dd73c924 authored by Yang Tse's avatar Yang Tse
Browse files

curl: ignore SIGPIPE - compilation fix

parent 5a053ffe
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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);