Changeset 6988
- Timestamp:
- 04/17/11 13:39:17 (2 years ago)
- Files:
-
- 1 modified
-
luci/trunk/libs/json/luasrc/json.lua (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
luci/trunk/libs/json/luasrc/json.lua
r5537 r6988 83 83 chnk, err = e() 84 84 out[#out+1] = chnk 85 until chnk85 until not chnk 86 86 return not err and table.concat(out) or nil 87 87 end … … 142 142 function Encoder.put(self, chunk) 143 143 if self.buffersize < 2 then 144 corou ntine.yield(chunk)144 coroutine.yield(chunk) 145 145 else 146 146 if #self.buffer + #chunk > self.buffersize then
