summaryrefslogtreecommitdiff
path: root/modules/aaa/mod_authz_dbd.c
diff options
context:
space:
mode:
Diffstat (limited to 'modules/aaa/mod_authz_dbd.c')
-rw-r--r--modules/aaa/mod_authz_dbd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/aaa/mod_authz_dbd.c b/modules/aaa/mod_authz_dbd.c
index 86d3b561..2d4925f5 100644
--- a/modules/aaa/mod_authz_dbd.c
+++ b/modules/aaa/mod_authz_dbd.c
@@ -163,7 +163,7 @@ static int authz_dbd_login(request_rec *r, authz_dbd_cfg *cfg,
/* OK, this is non-critical; we can just not-redirect */
}
else if ((rv = apr_dbd_pvselect(dbd->driver, r->pool, dbd->handle,
- &res, query, 0, r->user, NULL) == 0)) {
+ &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)) {