]> git.sesse.net Git - vlc/commitdiff
WinVLC: upload the crashes to the right location
authorJean-Baptiste Kempf <jb@videolan.org>
Wed, 16 Nov 2011 16:59:25 +0000 (17:59 +0100)
committerJean-Baptiste Kempf <jb@videolan.org>
Wed, 16 Nov 2011 16:59:54 +0000 (17:59 +0100)
bin/winvlc.c

index 1f60123dec3afbd07840854288200ba7906c1acf..541828d7fb53dc5f80fe72b7029f0dd77ff49338 100644 (file)
@@ -244,8 +244,8 @@ static void check_crashdump()
                     SYSTEMTIME now;
                     GetSystemTime(&now);
                     wchar_t remote_file[MAX_PATH];
-                    swprintf( remote_file, L"/crashs/%04d%02d%02d%02d%02d%02d",now.wYear,
-                            now.wMonth, now.wDay, now.wHour, now.wMinute, now.wSecond  );
+                    swprintf( remote_file, L"/crashes-win32/%04d%02d%02d%02d%02d%02d",
+                              now.wYear, now.wMonth, now.wDay, now.wHour, now.wMinute, now.wSecond );
 
                     if( FtpPutFile( ftp, wdir, remote_file, FTP_TRANSFER_TYPE_BINARY, 0) )
                         MessageBox( NULL, L"Report sent correctly. Thanks a lot for the help.",