[vlc-commits] Win32 Crashreport: use FTP passive mode

Jean-Baptiste Kempf git at videolan.org
Fri Dec 2 20:46:21 CET 2011


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Fri Dec  2 20:45:22 2011 +0100| [12797a5244521f1655afff27d09f13c4f541edba] | committer: Jean-Baptiste Kempf

Win32 Crashreport: use FTP passive mode

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

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

diff --git a/bin/winvlc.c b/bin/winvlc.c
index c7bfaf6..7f9d916 100644
--- a/bin/winvlc.c
+++ b/bin/winvlc.c
@@ -238,7 +238,7 @@ static void check_crashdump(void)
         if(Hint)
         {
             HINTERNET ftp = InternetConnect(Hint, L"crash.videolan.org", INTERNET_DEFAULT_FTP_PORT,
-                                            NULL, NULL, INTERNET_SERVICE_FTP, 0, 0);
+                                            NULL, NULL, INTERNET_SERVICE_FTP, INTERNET_FLAG_PASSIVE, 0);
             if(ftp)
             {
                 SYSTEMTIME now;



More information about the vlc-commits mailing list