From: Jean-Frederic Clere Date: Sat, 29 Jul 2006 00:56:23 +0000 (+0000) Subject: Use id instead worker->id so that a rearrange to the slot mems is possible. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4d1426fc1c32116209d1b49a18899acbaf71d9cd;p=thirdparty%2Fapache%2Fhttpd.git Use id instead worker->id so that a rearrange to the slot mems is possible. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/httpd-proxy-scoreboard@426732 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/proxy/health_checker_util.c b/modules/proxy/health_checker_util.c index 55d8df3ee93..43da1f4f878 100644 --- a/modules/proxy/health_checker_util.c +++ b/modules/proxy/health_checker_util.c @@ -132,7 +132,7 @@ static apr_status_t add_entry(proxy_worker *worker, const char *balancer_name, i if (myscore == NULL) return APR_ENOSHMAVAIL; - rv = checkstorage->ap_slotmem_mem(myscore, worker->id, (void *) &workerconf); + rv = checkstorage->ap_slotmem_mem(myscore, id, (void *) &workerconf); if (rv != APR_SUCCESS) { return rv; }