diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2023-02-07 17:36:42 -0800 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2023-02-07 17:36:42 -0800 |
commit | fe6483c2305ccd2fde0f433a42af2715def33fff (patch) | |
tree | a15b8840dcabf1e82c1d6ec943040d094adfbcfe /prtype.c | |
parent | 67ffde62e837f4b466141366c238ff134cf36edd (diff) |
PrintField: Don't over-indent when verbose < 3
When not printing out the contents of embedded structures,
PrintField was still increasing the indent level, but returning
before returning it to the prior level, leaving the later fields
over-indented.
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'prtype.c')
-rw-r--r-- | prtype.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -743,10 +743,10 @@ PrintField(const unsigned char *buf, break; case RECORD: - ModifyIndentLevel(1); fprintf(stdout, "\n"); if (Verbose < 3) return; + ModifyIndentLevel(1); (*TD[FieldType].PrintProc) (&buf[start]); ModifyIndentLevel(-1); break; |