Skip to content

Commit

Permalink
Windows: don't display a dialog when crash upload fails
Browse files Browse the repository at this point in the history
Similar philosophy as 45b0e16

Signed-off-by: Jean-Baptiste Kempf <[email protected]>
  • Loading branch information
robUx4 authored and jbkempf committed Oct 10, 2016
1 parent 6766a89 commit 51dba60
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions bin/winvlc.c
Original file line number Diff line number Diff line change
Expand Up @@ -252,20 +252,15 @@ static void check_crashdump(void)
}
else
{
MessageBox( NULL, L"There was an error while connecting to " \
"the FTP server. "\
"Thanks a lot for the help.",
L"Report sending failed", MB_OK);
fprintf(stderr,"Can't connect to FTP server 0x%08lu\n",
(unsigned long)GetLastError());
}
InternetCloseHandle(Hint);
}
else
{
MessageBox( NULL, L"There was an error while connecting to the Internet.\n"\
"Thanks a lot for the help anyway.",
L"Report sending failed", MB_OK);
fprintf(stderr,"There was an error while connecting to the Internet 0x%08lu\n",
(unsigned long)GetLastError());
}
}

Expand Down

0 comments on commit 51dba60

Please sign in to comment.