diff options
-rw-r--r-- | daemon/httpauthd.c | 2 | ||||
-rw-r--r-- | daemon/ldap.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/daemon/httpauthd.c b/daemon/httpauthd.c index 0524fdd..b26eb60 100644 --- a/daemon/httpauthd.c +++ b/daemon/httpauthd.c @@ -629,7 +629,7 @@ static int httpauth_read(ha_request_t* rq, int ifd) int i, r; int more = 1; - ASSERT(r); + ASSERT(rq); ASSERT(ifd != -1); /* Clean up the request header */ diff --git a/daemon/ldap.c b/daemon/ldap.c index 6eae3f1..044490f 100644 --- a/daemon/ldap.c +++ b/daemon/ldap.c @@ -455,7 +455,7 @@ static int validate_ldap_ha1(const ha_request_t* rq, ldap_context_t* ctx, LDAP* static LDAP* get_ldap_connection(const ha_request_t* rq, ldap_context_t* ctx) { - LDAP* ld; + LDAP* ld = NULL; int i, r, create = 1; ASSERT(ctx); |