Skip to content

Commit 22e8ae4

Browse files
committed
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
1 parent 792d953 commit 22e8ae4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/proxy/health_checker_util.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ static apr_status_t add_entry(proxy_worker *worker, const char *balancer_name, i
132132

133133
if (myscore == NULL)
134134
return APR_ENOSHMAVAIL;
135-
rv = checkstorage->ap_slotmem_mem(myscore, worker->id, (void *) &workerconf);
135+
rv = checkstorage->ap_slotmem_mem(myscore, id, (void *) &workerconf);
136136
if (rv != APR_SUCCESS) {
137137
return rv;
138138
}

0 commit comments

Comments
 (0)