[mod_scgi] fix unused_procs bidirectional-links

personal/stbuehler/mod-csrf
Glenn Strauss 6 years ago
parent ab85841b14
commit 317b7e5fc6
  1. 3
      src/mod_scgi.c

@ -2879,8 +2879,9 @@ TRIGGER_FUNC(mod_scgi_handle_trigger) {
if (fp) {
if (fp == host->unused_procs) host->unused_procs = fp->next;
else fp->prev->next = fp->next;
if (fp->next) fp->next->prev = NULL;
if (fp->next) fp->next->prev = fp->prev;
host->max_id++;
} else {

Loading…
Cancel
Save