diff options
author | Daniel Silverstone <dsilvers@digital-scurf.org> | 2013-06-24 18:29:28 +0100 |
---|---|---|
committer | Daniel Silverstone <dsilvers@digital-scurf.org> | 2013-06-24 18:29:28 +0100 |
commit | 3cc579e60abe5a952ca2ebdc788b1d907c2cdede (patch) | |
tree | 15325f4733fe3a62c2ccf12ca182d842552b5f75 /lib | |
parent | 10c24e03326ea7d69485af0271c8be77033abf08 (diff) | |
download | gitano-3cc579e60abe5a952ca2ebdc788b1d907c2cdede.tar.gz |
ACTION: Correct mistake regarding HTTP client
Unfortunately the fix to prevent assert()s in the HTTP client would instead
result in silent death in all cases.
This fixes that, by correctly locating the response in the 'ok' variable, ready
for matching.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/gitano/actions.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitano/actions.lua b/lib/gitano/actions.lua index 90029f5..30f93de 100644 --- a/lib/gitano/actions.lua +++ b/lib/gitano/actions.lua @@ -85,7 +85,7 @@ local function http_txn(method, host, path, headers, body) sock:close() return "500", msg, {}, "" end - local response = msg + local response = ok sock:close() |