Windows: don't display a dialog when crash upload fails
authorSteve Lhomme <robUx4@videolabs.io>
Mon, 26 Sep 2016 13:58:44 +0000 (15:58 +0200)
committerJean-Baptiste Kempf <jb@videolan.org>
Mon, 10 Oct 2016 21:58:56 +0000 (23:58 +0200)
Similar philosophy as 45b0e1644d8f1812d4b6391a7cefedc9f4d44c6d

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
bin/winvlc.c

index b61208c..cc3ed75 100644 (file)
@@ -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());
         }
     }