From: Steven Barth Date: Mon, 2 Jun 2008 15:35:44 +0000 (+0000) Subject: fix fastindex namespace X-Git-Tag: 0.8.0~921 X-Git-Url: https://git.archive.openwrt.org/?p=project%2Fluci.git;a=commitdiff_plain;h=f5c117f0675ae63d39a93916b05dd378f11dc958 fix fastindex namespace --- 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 #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;