parent
bcb48bae3d
commit
496066e3aa
|
@ -684,6 +684,7 @@ local function read_story(host,path,idp,show_comments,iam)
|
||||||
else
|
else
|
||||||
cachestr = string.format("%s%s",host,path)
|
cachestr = string.format("%s%s",host,path)
|
||||||
end
|
end
|
||||||
|
print("cachestr was:",cachestr)
|
||||||
local readstoryf = function()
|
local readstoryf = function()
|
||||||
local id = decode_id(idp)
|
local id = decode_id(idp)
|
||||||
stmnt_read:bind_names{
|
stmnt_read:bind_names{
|
||||||
|
@ -712,6 +713,7 @@ local function read_story(host,path,idp,show_comments,iam)
|
||||||
})
|
})
|
||||||
err = stmnt_comments:step()
|
err = stmnt_comments:step()
|
||||||
end
|
end
|
||||||
|
stmnt_comments:reset()
|
||||||
text = zlib.decompress(text)
|
text = zlib.decompress(text)
|
||||||
stmnt_read:reset()
|
stmnt_read:reset()
|
||||||
return pages.read{
|
return pages.read{
|
||||||
|
|
Loading…
Reference in New Issue