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

Steve Lhomme git at videolan.org
Tue Oct 11 00:03:02 CEST 2016


vlc | branch: master | Steve Lhomme <robUx4 at videolabs.io> | Mon Sep 26 15:58:44 2016 +0200| [51dba60000464e3e302c68a69ea4edbee522afb0] | committer: Jean-Baptiste Kempf

Windows: don't display a dialog when crash upload fails

Similar philosophy as 45b0e1644d8f1812d4b6391a7cefedc9f4d44c6d

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=51dba60000464e3e302c68a69ea4edbee522afb0
---

 bin/winvlc.c | 9 ++-------
 1 file changed, 2 insertions(+), 7 deletions(-)

diff --git a/bin/winvlc.c b/bin/winvlc.c
index b61208c..cc3ed75 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());
         }
     }
 



More information about the vlc-commits mailing list