summaryrefslogtreecommitdiff
path: root/modules/aaa/mod_authz_dbd.c
diff options
context:
space:
mode:
authorArno Töll <arno@debian.org>2012-10-20 02:58:14 +0200
committerArno Töll <arno@debian.org>2012-10-20 02:58:14 +0200
commit5c4fba3ffbe778bdffe10a93d04821579601a020 (patch)
tree91be9a7f99d3988ba48b0a619479aa46a3234191 /modules/aaa/mod_authz_dbd.c
parent8f9c15530d0bc387af114619b3ff3f930eb23d3c (diff)
downloadapache2-5c4fba3ffbe778bdffe10a93d04821579601a020.tar.gz
Imported Upstream version 2.4.3upstream/2.4.3
Diffstat (limited to 'modules/aaa/mod_authz_dbd.c')
-rw-r--r--modules/aaa/mod_authz_dbd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/aaa/mod_authz_dbd.c b/modules/aaa/mod_authz_dbd.c
index 59ca2b34..86d3b561 100644
--- a/modules/aaa/mod_authz_dbd.c
+++ b/modules/aaa/mod_authz_dbd.c
@@ -162,8 +162,8 @@ static int authz_dbd_login(request_rec *r, authz_dbd_cfg *cfg,
"authz_dbd: no redirect query!");
/* OK, this is non-critical; we can just not-redirect */
}
- else if (apr_dbd_pvselect(dbd->driver, r->pool, dbd->handle, &res,
- query, 0, r->user, NULL) == 0) {
+ else if ((rv = apr_dbd_pvselect(dbd->driver, r->pool, dbd->handle,
+ &res, query, 0, r->user, NULL) == 0)) {
for (rv = apr_dbd_get_row(dbd->driver, r->pool, res, &row, -1);
rv != -1;
rv = apr_dbd_get_row(dbd->driver, r->pool, res, &row, -1)) {