summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--utils/rpctrace.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/utils/rpctrace.c b/utils/rpctrace.c
index 3b3257d3..c64b467a 100644
--- a/utils/rpctrace.c
+++ b/utils/rpctrace.c
@@ -722,7 +722,9 @@ print_reply_header (struct traced_info *info, mig_reply_header_t *reply)
else
{
/* This does not match up with the last thing printed. */
- unfinished_line ();
+ if (expected_reply_port != MACH_PORT_NULL)
+ /* We don't print anything if the last call was a simpleroutine. */
+ unfinished_line ();
if (info->name == 0)
/* This was not a reply port in previous message sent
through our wrappers. */