diff options
Diffstat (limited to 'btt/trace_complete.c')
-rw-r--r-- | btt/trace_complete.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/btt/trace_complete.c b/btt/trace_complete.c index 50f3cfa..41bcb7d 100644 --- a/btt/trace_complete.c +++ b/btt/trace_complete.c @@ -92,6 +92,9 @@ static void handle_complete(struct io *c_iop) void trace_complete(struct io *c_iop) { + if (c_iop->t.bytes == 0) + return; + if (io_setup(c_iop, IOP_C)) handle_complete(c_iop); |