Skip to content

Commit

Permalink
Merge pull request #25 from starius/master
Browse files Browse the repository at this point in the history
README: fix a typo in example
  • Loading branch information
agentzh committed Apr 5, 2015
2 parents db33a18 + b142d91 commit 537f7de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.markdown
Expand Up @@ -405,7 +405,7 @@ Below is a trivial example for this:
while err == "again" do
res, err, errno, sqlstate = db:read_result()
if not res then
ngx.log(ngx.ERR, "bad result #2: ", err, ": ", errno, ": ", sqlstate, ".")
ngx.log(ngx.ERR, "bad result #", i, ": ", err, ": ", errno, ": ", sqlstate, ".")
return ngx.exit(500)
end

Expand Down

0 comments on commit 537f7de

Please sign in to comment.