From 51dba60000464e3e302c68a69ea4edbee522afb0 Mon Sep 17 00:00:00 2001 From: Steve Lhomme Date: Mon, 26 Sep 2016 15:58:44 +0200 Subject: [PATCH] Windows: don't display a dialog when crash upload fails Similar philosophy as 45b0e1644d8f1812d4b6391a7cefedc9f4d44c6d Signed-off-by: Jean-Baptiste Kempf --- bin/winvlc.c | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/bin/winvlc.c b/bin/winvlc.c index b61208c738..cc3ed75621 100644 --- a/bin/winvlc.c +++ b/bin/winvlc.c @@ -252,10 +252,6 @@ 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()); } @@ -263,9 +259,8 @@ static void check_crashdump(void) } 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()); } }