Commit 9a8fef0a authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Win32 Crashreport: use FTP passive mode

(cherry picked from commit 12797a52)
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent b75091cc
...@@ -238,7 +238,7 @@ static void check_crashdump(void) ...@@ -238,7 +238,7 @@ static void check_crashdump(void)
if(Hint) if(Hint)
{ {
HINTERNET ftp = InternetConnect(Hint, L"crash.videolan.org", INTERNET_DEFAULT_FTP_PORT, 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) if(ftp)
{ {
SYSTEMTIME now; SYSTEMTIME now;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment