fixed formatting
authorewt <devnull@localhost>
Wed, 27 Dec 1995 03:40:36 +0000 (03:40 +0000)
committerewt <devnull@localhost>
Wed, 27 Dec 1995 03:40:36 +0000 (03:40 +0000)
CVS patchset: 81
CVS date: 1995/12/27 03:40:36

lib/header.c

index fb53baf..3d065dd 100644 (file)
@@ -289,16 +289,16 @@ void dumpHeader(Header h, FILE * f, int flags)
                "OFSET     COUNT\n");
     for (i = 0; i < h->entries_used; i++) {
        switch (ntohl(p->type)) {
-           case NULL_TYPE:     type = "NULL_TYPE";     break;
-           case CHAR_TYPE:     type = "CHAR_TYPE";     break;
-           case BIN_TYPE:      type = "BIN_TYPE";      break;
-           case INT8_TYPE:     type = "INT8_TYPE";     break;
-           case INT16_TYPE:    type = "INT16_TYPE";    break;
-           case INT32_TYPE:    type = "INT32_TYPE";    break;
-           case INT64_TYPE:    type = "INT64_TYPE";    break;
-           case STRING_TYPE:   type = "STRING_TYPE";   break;
-           case STRING_ARRAY_TYPE: type = "STRING_ARRAY_TYPE"; break;
-           default:            type = "(unknown)";     break;
+           case NULL_TYPE:             type = "NULL_TYPE";     break;
+           case CHAR_TYPE:             type = "CHAR_TYPE";     break;
+           case BIN_TYPE:              type = "BIN_TYPE";      break;
+           case INT8_TYPE:             type = "INT8_TYPE";     break;
+           case INT16_TYPE:            type = "INT16_TYPE";    break;
+           case INT32_TYPE:            type = "INT32_TYPE";    break;
+           case INT64_TYPE:            type = "INT64_TYPE";    break;
+           case STRING_TYPE:           type = "STRING_TYPE";   break;
+           case STRING_ARRAY_TYPE:     type = "STRING_ARRAY_TYPE"; break;
+           default:                    type = "(unknown)";     break;
        }
 
        switch (ntohl(p->tag)) {
@@ -343,7 +343,7 @@ void dumpHeader(Header h, FILE * f, int flags)
            default:                    tag = "(unknown)";              break;
        }
 
-       fprintf(f, "Entry      : %.3d %-20s %-12s 0x%.8x %.8d\n", i, tag, type,
+       fprintf(f, "Entry      : %.3d %-20s %-18s 0x%.8x %.8d\n", i, tag, type,
                (uint_32) ntohl(p->offset), (uint_32) ntohl(p->count));
 
        if (flags & DUMP_INLINE) {