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

(lsh_oop_register_callout, lsh_oop_cancel_callout):

Added trace call.

Rev: src/io.c:1.159
parent 2cfc7442
......@@ -279,6 +279,9 @@ static void
lsh_oop_register_callout(struct lsh_callout *callout)
{
assert(source);
trace("lsh_oop_register_callout: action: %t\n",
callout->action);
if (callout->super.alive)
source->on_time(source, callout->when, lsh_oop_time_callback, callout);
}
......@@ -287,6 +290,8 @@ static void
lsh_oop_cancel_callout(struct lsh_callout *callout)
{
assert(source);
trace("lsh_oop_cancel_callout: action: %t\n",
callout->action);
if (callout->super.alive)
source->cancel_time(source, callout->when, lsh_oop_time_callback, callout);
}
......
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