From: Mark Wooding Date: Tue, 21 Feb 2006 15:23:21 +0000 (+0000) Subject: admin, resolve ops bugfix: initialize tag in resop early. X-Git-Tag: 1.0.0pre8~105 X-Git-Url: https://git.distorted.org.uk/~mdw/tripe/commitdiff_plain/452bf3f6897b8c6a22b51e1ef228da39136d51a7 admin, resolve ops bugfix: initialize tag in resop early. We can call the completion function before detachment, and it might try to trace its job tag. This initialization just makes sure that it doesn't do something stupid here. --- diff --git a/admin.c b/admin.c index 80d21af6..7917b26f 100644 --- a/admin.c +++ b/admin.c @@ -805,6 +805,7 @@ static void a_resolve(admin *a, admin_resop *r, const char *tag, /* --- Fill in the easy bits of address --- */ + r->bg.tag = ""; r->addr = 0; r->func = func; if (mystrieq(av[i], "inet")) i++;