Commit 22e8ae4e authored by Jean-Frederic Clere's avatar Jean-Frederic Clere
Browse files

Use id instead worker->id so that a rearrange to the slot mems is possible.

parent 792d9533
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;
    }