mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-25 06:25:56 +03:00
Cleanups
This commit is contained in:
parent
2767e7084a
commit
97c661c909
2 changed files with 9 additions and 2 deletions
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue