From b142d91eba3a8b32c958d57bd0e8c61032844a1b Mon Sep 17 00:00:00 2001 From: Boris Nagaev Date: Sun, 5 Apr 2015 00:40:01 +0300 Subject: [PATCH] README: fix a typo in example --- README.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.markdown b/README.markdown index 14a14c0..232551e 100644 --- a/README.markdown +++ b/README.markdown @@ -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