From 452bf3f6897b8c6a22b51e1ef228da39136d51a7 Mon Sep 17 00:00:00 2001 Message-Id: <452bf3f6897b8c6a22b51e1ef228da39136d51a7.1714803952.git.mdw@distorted.org.uk> From: Mark Wooding Date: Tue, 21 Feb 2006 15:23:21 +0000 Subject: [PATCH] admin, resolve ops bugfix: initialize tag in resop early. Organization: Straylight/Edgeware From: Mark Wooding 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. --- admin.c | 1 + 1 file changed, 1 insertion(+) 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++; -- [mdw]