Commit e8a93abe authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Win32: Use a better name for crashes report folder

parent 185dbcbe
...@@ -246,8 +246,8 @@ static void check_crashdump() ...@@ -246,8 +246,8 @@ static void check_crashdump()
SYSTEMTIME now; SYSTEMTIME now;
GetSystemTime(&now); GetSystemTime(&now);
wchar_t remote_file[MAX_PATH]; wchar_t remote_file[MAX_PATH];
swprintf( remote_file, L"/crashs-win32/%04d%02d%02d%02d%02d%02d",now.wYear, swprintf( remote_file, L"/crashes-win32/%04d%02d%02d%02d%02d%02d",
now.wMonth, now.wDay, now.wHour, now.wMinute, now.wSecond ); now.wYear, now.wMonth, now.wDay, now.wHour, now.wMinute, now.wSecond );
FtpPutFile( ftp, wdir, remote_file, FTP_TRANSFER_TYPE_BINARY, 0); FtpPutFile( ftp, wdir, remote_file, FTP_TRANSFER_TYPE_BINARY, 0);
InternetCloseHandle(ftp); InternetCloseHandle(ftp);
......
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