summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTed Trask <ttrask01@yahoo.com>2008-10-03 12:42:13 +0000
committerTed Trask <ttrask01@yahoo.com>2008-10-03 12:42:13 +0000
commitb11ebd732439fafee511b585df9b96d65d0b94e9 (patch)
treee819665635fdfc4d01d61cf3a5b6e5c614e4ca25
parentd4c98c35e23d6a6828f0e18c9268b0542b907891 (diff)
downloadacf-gnats-b11ebd732439fafee511b585df9b96d65d0b94e9.tar.bz2
acf-gnats-b11ebd732439fafee511b585df9b96d65d0b94e9.tar.xz
Modified format library. parse_configfile2, update_configfile2, get_section, and set_section became parse_ini_file, update_ini_file, get_ini_section, and set_ini_section. Updated all code that used these functions.
git-svn-id: svn://svn.alpinelinux.org/acf/gnats/trunk@1539 ab2d0c66-481e-0410-8bed-d214d4d58bed
-rw-r--r--gnats-model.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/gnats-model.lua b/gnats-model.lua
index 706ac55..c3d75e4 100644
--- a/gnats-model.lua
+++ b/gnats-model.lua
@@ -376,7 +376,7 @@ end
function getconfig()
if (fs.is_file(configfile)) then
- return format.parse_configfile2(fs.read_file(configfile), "") or {}
+ return format.parse_ini_file(fs.read_file(configfile), "") or {}
end
return {}
end