diff options
author | yangfl <yangfl@users.noreply.github.com> | 2018-08-18 12:21:21 +0800 |
---|---|---|
committer | yangfl <yangfl@users.noreply.github.com> | 2018-10-10 15:00:07 +0800 |
commit | 401382a459743db941738a645822b443ecfdc596 (patch) | |
tree | 5d2a1197f1d6f647091523011b9900eaf2f535b0 /modules/luci-base/luasrc/http.lua | |
parent | 24d1e7608b23cd80eca41a78916a2a0f2bd224c2 (diff) |
treewide: Fix typos in comments
Signed-off-by: David Yang <mmyangfl@gmail.com>
Diffstat (limited to 'modules/luci-base/luasrc/http.lua')
-rw-r--r-- | modules/luci-base/luasrc/http.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/luci-base/luasrc/http.lua b/modules/luci-base/luasrc/http.lua index f4ede4b8a..20b55f285 100644 --- a/modules/luci-base/luasrc/http.lua +++ b/modules/luci-base/luasrc/http.lua @@ -335,13 +335,13 @@ end -- Content-Type. Stores all extracted data associated with its parameter name -- in the params table within the given message object. Multiple parameter -- values are stored as tables, ordinary ones as strings. --- If an optional file callback function is given then it is feeded with the +-- If an optional file callback function is given then it is fed with the -- file contents chunk by chunk and only the extracted file name is stored -- within the params table. The callback function will be called subsequently -- with three arguments: -- o Table containing decoded (name, file) and raw (headers) mime header data -- o String value containing a chunk of the file data --- o Boolean which indicates wheather the current chunk is the last one (eof) +-- o Boolean which indicates whether the current chunk is the last one (eof) function mimedecode_message_body(src, msg, file_cb) local parser, header, field local len, maxlen = 0, tonumber(msg.env.CONTENT_LENGTH or nil) |