]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Use id instead worker->id so that a rearrange to the slot mems is possible.
authorJean-Frederic Clere <jfclere@apache.org>
Sat, 29 Jul 2006 00:56:23 +0000 (00:56 +0000)
committerJean-Frederic Clere <jfclere@apache.org>
Sat, 29 Jul 2006 00:56:23 +0000 (00:56 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/httpd-proxy-scoreboard@426732 13f79535-47bb-0310-9956-ffa450edef68

modules/proxy/health_checker_util.c

index 55d8df3ee9342d1112bcb3c499a8f8d244a8a5e9..43da1f4f878611fdfbb809817bda249087a732ee 100644 (file)
@@ -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;
     }