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 c7bfaf6..7f9d916 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;