aboutsummaryrefslogtreecommitdiff
path: root/utils/rpctrace.c
diff options
context:
space:
mode:
Diffstat (limited to 'utils/rpctrace.c')
-rw-r--r--utils/rpctrace.c12
1 files changed, 7 insertions, 5 deletions
diff --git a/utils/rpctrace.c b/utils/rpctrace.c
index b7379a76..e75bd0df 100644
--- a/utils/rpctrace.c
+++ b/utils/rpctrace.c
@@ -1,6 +1,6 @@
/* Trace RPCs sent to selected ports
- Copyright (C) 1998, 1999, 2001, 2002, 2003, 2005, 2006
+ Copyright (C) 1998, 1999, 2001, 2002, 2003, 2005, 2006, 2009
Free Software Foundation, Inc.
This file is part of the GNU Hurd.
@@ -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);