X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=simgear%2Fio%2Fhttpget.cxx;h=e10a29b41659dd3fc992b77358296ca5d40ce65b;hb=09b0dd2b2d7d934c1d4059cb2cbd3b4fcbb7872f;hp=b65a9274bca6dc090c3d3ae15e46b540e67e2b3d;hpb=3a210d6fa69a9bdaf29715f1cef720930183ce65;p=simgear.git diff --git a/simgear/io/httpget.cxx b/simgear/io/httpget.cxx index b65a9274..e10a29b4 100644 --- a/simgear/io/httpget.cxx +++ b/simgear/io/httpget.cxx @@ -133,7 +133,9 @@ int main(int argc, char* argv[]) cl.setProxy(proxyHost, proxyPort, proxyAuth); } +#ifndef WIN32 signal(SIGPIPE, SIG_IGN); +#endif if (!outFile) { outFile = new SGFile(fileno(stdout));