summaryrefslogtreecommitdiffhomepage
path: root/libs/sgi-webuci
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2008-06-15 21:11:34 +0000
committerSteven Barth <steven@midlink.org>2008-06-15 21:11:34 +0000
commit89f1f43c9df397efb09e06b5ca69e88158ea2935 (patch)
tree8fb4e782e647f9bb132e03267bb4ee667343b026 /libs/sgi-webuci
parent8d2f6c7041ac47f1ea615053d2f693f79f42c1ae (diff)
* Fixed SGI webuci to work with new HTTP API
Diffstat (limited to 'libs/sgi-webuci')
-rw-r--r--libs/sgi-webuci/luasrc/sgi/webuci.lua5
1 files changed, 2 insertions, 3 deletions
diff --git a/libs/sgi-webuci/luasrc/sgi/webuci.lua b/libs/sgi-webuci/luasrc/sgi/webuci.lua
index 8801cf447..7bfa2fe13 100644
--- a/libs/sgi-webuci/luasrc/sgi/webuci.lua
+++ b/libs/sgi-webuci/luasrc/sgi/webuci.lua
@@ -29,9 +29,8 @@ require("luci.util")
require("luci.dispatcher")
function run(env, vars)
- local r = luci.http.Request(env, nil, io.stderr)
- r.get = vars
- r.post = r.get
+ local r = luci.http.Request(env, {}, io.stderr)
+ r.message.params = vars
local x = coroutine.create(luci.dispatcher.httpdispatch)