diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/http.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/http.lua b/src/http.lua index fbd5ff6..bda0744 100644 --- a/src/http.lua +++ b/src/http.lua | |||
| @@ -62,7 +62,7 @@ local function receiveheaders(sock, headers) | |||
| 62 | -- unfold any folded values | 62 | -- unfold any folded values |
| 63 | while string.find(line, "^%s") do | 63 | while string.find(line, "^%s") do |
| 64 | value = value .. line | 64 | value = value .. line |
| 65 | line = sock:receive() | 65 | line, err = sock:receive() |
| 66 | if err then return nil, err end | 66 | if err then return nil, err end |
| 67 | end | 67 | end |
| 68 | -- save pair in table | 68 | -- save pair in table |
