[RAPPS] Change APPLICATION_DATEBASE_URL to APPLICATION_DATABASE_URL and add a FIXME about switching to HTTPS once is supported. By Ismael Ferreras Morezuelas. CORE-9060

svn path=/trunk/; revision=66590
This commit is contained in:
Amine Khaldi 2015-03-06 20:20:25 +00:00
parent 8c59114082
commit 4f727bf356
2 changed files with 4 additions and 3 deletions

View file

@ -100,7 +100,7 @@ UpdateAppsDB(VOID)
if (!DeleteCurrentAppsDB())
return FALSE;
DownloadApplicationsDB(APPLICATION_DATEBASE_URL);
DownloadApplicationsDB(APPLICATION_DATABASE_URL);
if (!GetStorageDirectory(szPath, sizeof(szPath) / sizeof(szPath[0])))
return FALSE;
@ -168,7 +168,7 @@ EnumAvailableApplications(INT EnumType, AVAILENUMPROC lpEnumProc)
if (hFind == INVALID_HANDLE_VALUE)
{
if (GetFileAttributesW(szCabPath) == INVALID_FILE_ATTRIBUTES)
DownloadApplicationsDB(APPLICATION_DATEBASE_URL);
DownloadApplicationsDB(APPLICATION_DATABASE_URL);
ExtractFilesFromCab(szCabPath, szAppsPath);
hFind = FindFirstFileW(szPath, &FindFileData);

View file

@ -25,7 +25,8 @@
#include "resource.h"
#define APPLICATION_DATEBASE_URL L"http://svn.reactos.org/packages/rappmgr.cab"
/* FIXME: this should be downloaded by HTTPS once is supported */
#define APPLICATION_DATABASE_URL L"http://svn.reactos.org/packages/rappmgr.cab"
#define SPLIT_WIDTH 4
#define MAX_STR_LEN 256