Browse Source

Only kill off proxy if it's actually dead

master
ckolivas 10 years ago
parent
commit
d103ea97df
  1. 1
      src/stratifier.c

1
src/stratifier.c

@ -1286,6 +1286,7 @@ static void update_subscribe(ckpool_t *ckp, const char *cmd)
/* Is this a replacement for an existing proxy id? */ /* Is this a replacement for an existing proxy id? */
old = existing_subproxy(sdata, id, subid); old = existing_subproxy(sdata, id, subid);
if (old) { if (old) {
if (old->dead)
dead_proxyid(sdata, id, subid); dead_proxyid(sdata, id, subid);
proxy = old; proxy = old;
proxy->dead = false; proxy->dead = false;

Loading…
Cancel
Save