Author: akhaldi
Date: Fri Mar 6 20:20:25 2015
New Revision: 66590
URL:
http://svn.reactos.org/svn/reactos?rev=66590&view=rev
Log:
[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
Modified:
trunk/reactos/base/applications/rapps/available.c
trunk/reactos/base/applications/rapps/rapps.h
Modified: trunk/reactos/base/applications/rapps/available.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/rapps/av…
==============================================================================
--- trunk/reactos/base/applications/rapps/available.c [iso-8859-1] (original)
+++ trunk/reactos/base/applications/rapps/available.c [iso-8859-1] Fri Mar 6 20:20:25
2015
@@ -100,7 +100,7 @@
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 @@
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);
Modified: trunk/reactos/base/applications/rapps/rapps.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/rapps/ra…
==============================================================================
--- trunk/reactos/base/applications/rapps/rapps.h [iso-8859-1] (original)
+++ trunk/reactos/base/applications/rapps/rapps.h [iso-8859-1] Fri Mar 6 20:20:25 2015
@@ -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