summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2001-06-06 19:42:59 +0000
committerRoland McGrath <roland@gnu.org>2001-06-06 19:42:59 +0000
commit2370cbbd6af7124bb3dfc870e236e26f77207bf1 (patch)
tree9732167d7976d97ce951ea9b42d99a929ce727ea /utils
parentf1a60268268acac56b9a245bcb9d93b0506a0e92 (diff)
2001-06-06 Roland McGrath <roland@frob.com>
* 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.
Diffstat (limited to 'utils')
-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. */