From 13d00aacc2e8b2326ab3f33ee6332e47ca8aadb1 Mon Sep 17 00:00:00 2001 From: Stef Walter Date: Fri, 11 Feb 2005 00:52:01 +0000 Subject: Fix uninitialized values --- daemon/httpauthd.c | 2 +- daemon/ldap.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'daemon') 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); -- cgit v1.2.3