[vlc-commits] Windows: don't display a dialog when FTP transfer fails

Jean-Baptiste Kempf git at videolan.org
Fri Sep 23 18:36:10 CEST 2016


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Fri Sep 23 18:34:56 2016 +0200| [45b0e1644d8f1812d4b6391a7cefedc9f4d44c6d] | committer: Jean-Baptiste Kempf

Windows: don't display a dialog when FTP transfer fails

Close #17014

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

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

diff --git a/bin/winvlc.c b/bin/winvlc.c
index 33784e2..e221b2e 100644
--- a/bin/winvlc.c
+++ b/bin/winvlc.c
@@ -246,10 +246,8 @@ static void check_crashdump(void)
                     MessageBox( NULL, L"Report sent correctly. Thanks a lot " \
                                 "for the help.", L"Report sent", MB_OK);
                 else
-                    MessageBox( NULL, L"There was an error while "\
-                                "transferring the data to the FTP server.\n"\
-                                "Thanks a lot for the help.",
-                                L"Report sending failed", MB_OK);
+                    fprintf(stderr,"Couldn't send report to FTP server");
+
                 InternetCloseHandle(ftp);
             }
             else



More information about the vlc-commits mailing list