Skip to content

Commit

Permalink
rep should be res
Browse files Browse the repository at this point in the history
  • Loading branch information
= committed Feb 20, 2012
1 parent 98814a1 commit 6f96e9f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/redis.lua
Expand Up @@ -17,7 +17,7 @@ function redis.query(query)
})

if (res.status == ngx.HTTP_OK) then
return redis.parser.parse_reply(rep.body)
return redis.parser.parse_reply(res.body)
else
return nil, res.status
end
Expand Down

0 comments on commit 6f96e9f

Please sign in to comment.