This commit is contained in:
Klaas Freitag 2013-11-20 14:59:58 +01:00
parent 2767e7084a
commit 97c661c909
2 changed files with 9 additions and 2 deletions

View file

@ -36,9 +36,9 @@ int main(int argc, char **argv)
Mirall::Application app(argc, argv);
app.initialize();
#ifndef Q_OS_WIN32
signal(SIGPIPE, SIG_IGN);
#endif
if( app.giveHelp() ) {
app.showHelp();
return 0;

View file

@ -508,11 +508,18 @@ private:
static int do_not_accept (void *userdata, ne_request *req, const ne_status *st)
{
Q_UNUSED(userdata);
Q_UNUSED(req);
Q_UNUSED(st);
return 0; // ignore this response
}
static int do_not_download_content_reader(void *userdata, const char *buf, size_t len)
{
Q_UNUSED(userdata);
Q_UNUSED(buf);
Q_UNUSED(len);
return NE_ERROR;
}