diff options
author | Martin Mares <mj@ucw.cz> | 1999-03-29 20:14:33 +0000 |
---|---|---|
committer | Martin Mares <mj@ucw.cz> | 1999-03-29 20:14:33 +0000 |
commit | 5bc512aa3a0d3e4ca378fff3316b75c131f17637 (patch) | |
tree | 1f7d48bab9c94313b58845412472e06b21c7f712 /nest | |
parent | 3f2a21fd348e49cf3ca98750b14e14dd04b3209b (diff) |
Clarify resource dumps and include them in the main debugging dump.
Diffstat (limited to 'nest')
-rw-r--r-- | nest/proto.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/nest/proto.c b/nest/proto.c index 450128e3..f230c8ef 100644 --- a/nest/proto.c +++ b/nest/proto.c @@ -95,9 +95,8 @@ proto_new(struct proto_config *c, unsigned size) static void proto_init_instance(struct proto *p) { - struct proto_config *c = p->cf; - - p->pool = rp_new(proto_pool, c->name); + /* Here we cannot use p->cf->name since it won't survive reconfiguration */ + p->pool = rp_new(proto_pool, p->proto->name); p->attn = ev_new(p->pool); p->attn->data = p; } |