]> git.sesse.net Git - vlc/commitdiff
Win32 Crashreport: use FTP passive mode
authorJean-Baptiste Kempf <jb@videolan.org>
Fri, 2 Dec 2011 19:45:22 +0000 (20:45 +0100)
committerJean-Baptiste Kempf <jb@videolan.org>
Fri, 2 Dec 2011 19:46:16 +0000 (20:46 +0100)
bin/winvlc.c

index c7bfaf676e83a2605be27ebb601818b2aa59c82c..7f9d916f52aafe310129255e2859897077c2b48b 100644 (file)
@@ -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;