[vlc-devel] [PATCH] Windows: don't display a dialog when crash upload fails

Steve Lhomme robux4 at videolabs.io
Mon Sep 26 14:40:29 CEST 2016


Similar philosophy as 45b0e1644d8f1812d4b6391a7cefedc9f4d44c6d
---
 bin/winvlc.c | 9 ++-------
 1 file changed, 2 insertions(+), 7 deletions(-)

diff --git a/bin/winvlc.c b/bin/winvlc.c
index 1b8071f..a6be8a1 100644
--- a/bin/winvlc.c
+++ b/bin/winvlc.c
@@ -253,10 +253,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());
             }
@@ -264,9 +260,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.\n",
+                      (unsigned long)GetLastError());
         }
     }
 
-- 
2.8.2



More information about the vlc-devel mailing list