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

Jean-Baptiste Kempf git at videolan.org
Sat Dec 3 16:54:19 CET 2011


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

Win32 Crashreport: use FTP passive mode
(cherry picked from commit 12797a5244521f1655afff27d09f13c4f541edba)

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc/vlc-1.2.git/?a=commit;h=9a8fef0ac5350e02a31316f122305604541149d1
---

 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