summaryrefslogtreecommitdiffhomepage
path: root/module/rpc-core
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2008-05-07 20:23:42 +0000
committerSteven Barth <steven@midlink.org>2008-05-07 20:23:42 +0000
commit4264e6b7808066686223d0294bd01a84659f9f38 (patch)
tree4c8a26aaf40560d76cf87c85cbded37c41a49086 /module/rpc-core
parent54d92ebab5f402409b26a28994ed9309e47c4b41 (diff)
* Last API changes before 0.4 API softfreeze
Diffstat (limited to 'module/rpc-core')
-rw-r--r--module/rpc-core/src/controller/rpc/luciinfo.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/rpc-core/src/controller/rpc/luciinfo.lua b/module/rpc-core/src/controller/rpc/luciinfo.lua
index d4e5cb3068..611423fbb0 100644
--- a/module/rpc-core/src/controller/rpc/luciinfo.lua
+++ b/module/rpc-core/src/controller/rpc/luciinfo.lua
@@ -3,7 +3,7 @@ module("ffluci.controller.rpc.luciinfo", package.seeall)
function action_index()
local uci = ffluci.model.uci.StateSession()
- ffluci.http.set_content_type("text/plain")
+ ffluci.http.prepare_content("text/plain")
-- General
print("luciinfo.api=1")