diff options
author | Stef Walter <stef@memberwebs.com> | 2004-08-18 22:15:10 +0000 |
---|---|---|
committer | Stef Walter <stef@memberwebs.com> | 2004-08-18 22:15:10 +0000 |
commit | 861158ad71effd4f48da442f5eb1bb70754eb08b (patch) | |
tree | ada62c8d479f4104e07bf03634bd7f4325e86b37 /daemon | |
parent | 03d751131db4b452bfcde6add0346fd1fcdc3fec (diff) |
Code cleanup
Diffstat (limited to 'daemon')
-rw-r--r-- | daemon/bd.c | 1 | ||||
-rw-r--r-- | daemon/digest.c | 2 | ||||
-rw-r--r-- | daemon/ldap.c | 3 | ||||
-rw-r--r-- | daemon/mysql.c | 1 |
4 files changed, 0 insertions, 7 deletions
diff --git a/daemon/bd.c b/daemon/bd.c index a20b90b..e883fb4 100644 --- a/daemon/bd.c +++ b/daemon/bd.c @@ -454,7 +454,6 @@ const char* bd_substitute(const ha_request_t* rq, const char* user, const char* ASSERT(rq && user && str); ASSERT(ctx->f_escape_value); - /* TODO: We need to be escaping the user and realm properly */ /* This starts a new block to join */ ha_bufcpy(rq->buf, ""); diff --git a/daemon/digest.c b/daemon/digest.c index 5d91995..e011690 100644 --- a/daemon/digest.c +++ b/daemon/digest.c @@ -229,8 +229,6 @@ int digest_pre_check(digest_context_t* dg, const ha_context_t* opts, ha_buffer_t { ASSERT(buf && buf && dg); - /* TODO: This stuff should probably go into bd.c */ - /* Check for digest */ if(!dg->client.digest || !dg->client.digest[0]) { diff --git a/daemon/ldap.c b/daemon/ldap.c index a302d3d..956c464 100644 --- a/daemon/ldap.c +++ b/daemon/ldap.c @@ -425,8 +425,6 @@ static LDAP* get_ldap_connection(const ha_request_t* rq, ldap_context_t* ctx) ASSERT(ctx); - /* TODO: What about multiple threads here? */ - for(i = 0; i < ctx->ldap_max; i++) { /* An open connection in the pool */ @@ -830,7 +828,6 @@ finally: if(ld) save_ldap_connection(rq, ctx, ld); - /* TODO: Check to make sure this fits within the return values */ return ret; } diff --git a/daemon/mysql.c b/daemon/mysql.c index df2f8e2..0ed8f35 100644 --- a/daemon/mysql.c +++ b/daemon/mysql.c @@ -655,7 +655,6 @@ int mysql_config(ha_context_t* context, const char* name, const char* value) else if(strcmp(name, "dbtimeout") == 0) { - /* TODO: Implement database timeouts */ return ha_confint(name, value, 0, 86400, &(ctx->mysql_timeout)); } |