summaryrefslogtreecommitdiff
path: root/daemon/ldap.c
diff options
context:
space:
mode:
Diffstat (limited to 'daemon/ldap.c')
-rw-r--r--daemon/ldap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/daemon/ldap.c b/daemon/ldap.c
index e3f6a5f..a302d3d 100644
--- a/daemon/ldap.c
+++ b/daemon/ldap.c
@@ -284,7 +284,7 @@ static int parse_ldap_ha1(const ha_request_t* rq, struct berval* bv, unsigned ch
}
}
- return ha_buferr(rq->buf) ? HA_CRITERROR : HA_FALSE;
+ return CHECK_RBUF(rq) ? HA_CRITERROR : HA_FALSE;
}
static int validate_ldap_password(const ha_request_t* rq, ldap_context_t* ctx, LDAP* ld,