From 2370cbbd6af7124bb3dfc870e236e26f77207bf1 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Wed, 6 Jun 2001 19:42:59 +0000 Subject: 2001-06-06 Roland McGrath * rpctrace.c (print_reply_header): Don't call unfinished_line if expected_reply_port is null, indicating the last line was finished as a simpleroutine. --- utils/rpctrace.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'utils') 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. */ -- cgit v1.2.3