Commit b9e15e28 authored by Niels Möller's avatar Niels Möller

* src/lsh_proxy.c: Adapted to stricter alist typing.

* src/lshd.c: Likewise.
* src/reaper.c: Likewise.

Rev: src/reaper.c:1.17
parent e6af9d3e
......@@ -69,7 +69,7 @@ do_reap(struct reap *c,
{
CAST(reaper, closure, c);
ALIST_SET(closure->children, pid, callback);
ALIST_SET(closure->children, pid, &callback->super);
}
/* GABA:
......@@ -117,7 +117,10 @@ do_reaper_callback(struct lsh_callback *s)
else
fatal("Child died, but neither WIFEXITED or WIFSIGNALED is true.\n");
callback = ALIST_GET(r->children, pid);
{
CAST_SUBTYPE(exit_callback, c, ALIST_GET(r->children, pid));
callback = c;
}
if (callback)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment