summaryrefslogtreecommitdiffhomepage
path: root/libs/fastindex/src
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2008-06-02 15:35:44 +0000
committerSteven Barth <steven@midlink.org>2008-06-02 15:35:44 +0000
commitf5c117f0675ae63d39a93916b05dd378f11dc958 (patch)
treecdf9ab6ad4730676a60eeaf187c388dee8c7e674 /libs/fastindex/src
parentf154da7e8c21edd2bc55374e3cece0cf3dedfefe (diff)
fix fastindex namespace
Diffstat (limited to 'libs/fastindex/src')
-rw-r--r--libs/fastindex/src/fastindex.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/libs/fastindex/src/fastindex.c b/libs/fastindex/src/fastindex.c
index ab78c0935..c9c64bf75 100644
--- a/libs/fastindex/src/fastindex.c
+++ b/libs/fastindex/src/fastindex.c
@@ -32,8 +32,7 @@
#include <lauxlib.h>
#include "list.h"
-#define MODNAME "fastindex"
-#define PATTERN "/*.lua"
+#define MODNAME "luci.fastindex"
#define DEFAULT_BUFLEN 1024
//#define DEBUG 1
@@ -373,7 +372,7 @@ static const luaL_Reg fastindex[] = {
};
int
-luaopen_fastindex(lua_State *L)
+luaopen_luci_fastindex(lua_State *L)
{
luaL_register(L, MODNAME, fastindex);
return 0;