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

* src/command.c (do_trace_continuation): Use trace(... %t ...).

Rev: src/command.c:1.42
parent 315e0c92
...@@ -387,15 +387,9 @@ do_trace_continuation(struct command_continuation *s, ...@@ -387,15 +387,9 @@ do_trace_continuation(struct command_continuation *s,
struct lsh_object *x) struct lsh_object *x)
{ {
CAST(trace_continuation, self, s); CAST(trace_continuation, self, s);
const char *type;
if (x) trace("Leaving %z, value of type %t.\n",
type = (x->isa) ? x->isa->name : "<STATIC>"; self->name, x);
else
type = "<NULL>";
trace("Leaving %z, value of type %z.\n",
self->name, type);
COMMAND_RETURN(self->real, x); COMMAND_RETURN(self->real, x);
} }
......
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