Commit 20bee3d7 authored by Niels Möller's avatar Niels Möller
Browse files

* src/resource.c (do_kill_all): Bugfix (use CAST_SUBTYPE rather

than CAST).

Rev: ChangeLog:1.70
Rev: src/resource.c:1.8
parent 246bbe3a
Tue Apr 20 00:00:58 1999 Niels Möller <nisse@lysator.liu.se>
* src/resource.c (do_kill_all): Bugfix (use CAST_SUBTYPE rather
than CAST).
* src/lsh.c (make_client_connect): Added calls die_on_null and
init_connection.
* src/client.c (new_session): Initialize session->write from the
connection.
Mon Apr 19 16:23:22 1999 Niels Möller <nisse@lysator.liu.se>
* src/channel.c (do_channel_success, do_channel_failure): Bugfix
(use CAST_SUBTYPE rather than CAST).
* src/lsh.c: Adapted to the command language.
* src/command.c (do_progn): Bug fix.
......
......@@ -76,7 +76,7 @@ static void do_kill_all(struct resource_list *self)
{
while (!object_queue_is_empty(&self->q))
{
CAST(resource, r, object_queue_remove_head(&self->q));
CAST_SUBTYPE(resource, r, object_queue_remove_head(&self->q));
KILL_RESOURCE(r);
}
#if 0
......
Supports Markdown
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