[RAPPS] Change APPLICATION_DATEBASE_URL to APPLICATION_DATABASE_URL and add a FIXME...
authorAmine Khaldi <amine.khaldi@reactos.org>
Fri, 6 Mar 2015 20:20:25 +0000 (20:20 +0000)
committerAmine Khaldi <amine.khaldi@reactos.org>
Fri, 6 Mar 2015 20:20:25 +0000 (20:20 +0000)
svn path=/trunk/; revision=66590

reactos/base/applications/rapps/available.c
reactos/base/applications/rapps/rapps.h

index e7ca270..ac0b2b5 100644 (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);
index a710f2c..44265bc 100644 (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