diff options
author | Guy Harris <guy@alum.mit.edu> | 2016-02-25 13:34:07 -0800 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2016-02-25 21:34:36 +0000 |
commit | e9b2859c45d15fc30dcec2c54fab211476e21392 (patch) | |
tree | b18d6a7a69b7adf4dbc32ba2e8cbfdb09dc2baa0 /epan/dissectors/packet-h1.c | |
parent | 12808dea8107b67f3de3fa52f409ce0ab600fa16 (diff) |
Clean up modelines and indentation.
HT tab stops are set every 8 spaces on UN*X; UN*X tools that treat an HT
character as tabbing to 4-space tab stops, or that even are configurable
but *default* to 4-space tab stops (I'm looking at *you*, Xcode!) are
broken. tab-width: 4, tabstop=4, and tabSize=4 are errors if you ever
expect anybody to look at your file with a UN*X tool, and every text
file will probably be looked at by a UN*X tool at some point, so Don't
Do That.
Adjust indentation to reflect the mode lines.
Change-Id: Icf0831717de10fc615971fa1cf75af2f1ea2d03d
Reviewed-on: https://code.wireshark.org/review/14150
Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'epan/dissectors/packet-h1.c')
-rw-r--r-- | epan/dissectors/packet-h1.c | 62 |
1 files changed, 31 insertions, 31 deletions
diff --git a/epan/dissectors/packet-h1.c b/epan/dissectors/packet-h1.c index 014f817d42..43369049e3 100644 --- a/epan/dissectors/packet-h1.c +++ b/epan/dissectors/packet-h1.c @@ -50,44 +50,44 @@ static dissector_handle_t data_handle; #define RESPONSE_BLOCK 0x0F static const value_string block_type_vals[] = { - { EMPTY_BLOCK, "Empty Block" }, - { OPCODE_BLOCK, "Opcode Block" }, - { REQUEST_BLOCK, "Request Block" }, - { RESPONSE_BLOCK, "Response Block" }, - {0, NULL} + { EMPTY_BLOCK, "Empty Block" }, + { OPCODE_BLOCK, "Opcode Block" }, + { REQUEST_BLOCK, "Request Block" }, + { RESPONSE_BLOCK, "Response Block" }, + {0, NULL} }; static const value_string opcode_vals[] = { - {3, "Write Request"}, - {4, "Write Response"}, - {5, "Read Request"}, - {6, "Read Response"}, - {0, NULL} + {3, "Write Request"}, + {4, "Write Response"}, + {5, "Read Request"}, + {6, "Read Response"}, + {0, NULL} }; static const value_string org_vals[] = { - {0x01, "DB"}, - {0x02, "MB"}, - {0x03, "EB"}, - {0x04, "AB"}, - {0x05, "PB"}, - {0x06, "ZB"}, - {0x07, "TB"}, - {0x08, "BS"}, - {0x09, "AS"}, - {0x0a, "DX"}, - {0x10, "DE"}, - {0x11, "QB"}, - {0, NULL} + {0x01, "DB"}, + {0x02, "MB"}, + {0x03, "EB"}, + {0x04, "AB"}, + {0x05, "PB"}, + {0x06, "ZB"}, + {0x07, "TB"}, + {0x08, "BS"}, + {0x09, "AS"}, + {0x0a, "DX"}, + {0x10, "DE"}, + {0x11, "QB"}, + {0, NULL} }; static const value_string returncode_vals[] = { - {0x00, "No error"}, - {0x02, "Requested block does not exist"}, - {0x03, "Requested block too small"}, - {0xFF, "Error, reason unknown"}, - {0, NULL} + {0x00, "No error"}, + {0x02, "Requested block does not exist"}, + {0x03, "Requested block too small"}, + {0xFF, "Error, reason unknown"}, + {0, NULL} }; static gint ett_h1 = -1; @@ -273,10 +273,10 @@ proto_reg_handoff_h1(void) * * Local Variables: * c-basic-offset: 4 - * tab-width: 4 + * tab-width: 8 * indent-tabs-mode: nil * End: * - * ex: set shiftwidth=4 tabstop=4 expandtab: - * :indentSize=4:tabSize=4:noTabs=true: + * ex: set shiftwidth=4 tabstop=8 expandtab: + * :indentSize=4:tabSize=8:noTabs=true: */ |