chiark
/
gitweb
/
~mdw
/
tripe
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
042d5c2
)
admin, resolve ops bugfix: initialize tag in resop early.
author
Mark Wooding
<mdw@distorted.org.uk>
Tue, 21 Feb 2006 15:23:21 +0000
(15:23 +0000)
committer
Mark Wooding
<mdw@distorted.org.uk>
Tue, 21 Feb 2006 23:58:12 +0000
(23:58 +0000)
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
patch
|
blob
|
blame
|
history
diff --git
a/admin.c
b/admin.c
index 80d21af63c3ea817a190fa1a4fbde9b627fa1e3a..7917b26fb434b021c6204230bcefb7b3428be9a1 100644
(file)
--- 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 --- */
/* --- Fill in the easy bits of address --- */
+ r->bg.tag = "<starting>";
r->addr = 0;
r->func = func;
if (mystrieq(av[i], "inet")) i++;
r->addr = 0;
r->func = func;
if (mystrieq(av[i], "inet")) i++;