diff --git a/sys/apis/util.lua b/sys/apis/util.lua index a15e1e2..f1f5a8d 100644 --- a/sys/apis/util.lua +++ b/sys/apis/util.lua @@ -484,8 +484,8 @@ function Util.loadTable(fname) end --[[ loading and running functions ]] -- -function Util.httpGet(url, headers) - local h, msg = http.get(url, headers) +function Util.httpGet(url, headers, isBinary) + local h, msg = http.get(url, headers, isBinary) if h then local contents = h.readAll() h.close() diff --git a/sys/apps/Help.lua b/sys/apps/Help.lua index b43d23a..d00c80b 100644 --- a/sys/apps/Help.lua +++ b/sys/apps/Help.lua @@ -99,5 +99,5 @@ function page:eventHandler(event) end local args = { ... } -UI:setPage(#args[1] and topicPage or page, args[1]) +UI:setPage(args[1] and topicPage or page, args[1]) UI:pullEvents()