summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--utils/rpctrace.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/utils/rpctrace.c b/utils/rpctrace.c
index 51824490..e75bd0df 100644
--- a/utils/rpctrace.c
+++ b/utils/rpctrace.c
@@ -632,10 +632,12 @@ print_contents (mach_msg_header_t *inp,
type->msgt_name = name;
}
else if (nelt > 0 && newtypes[0] != name)
- if (type->msgt_longform)
- lt->msgtl_name = newtypes[0];
- else
- type->msgt_name = newtypes[0];
+ {
+ if (type->msgt_longform)
+ lt->msgtl_name = newtypes[0];
+ else
+ type->msgt_name = newtypes[0];
+ }
}
else
print_data (name, data, nelt, eltsize);