diff options
author | Bill Meier <wmeier@newsguy.com> | 2014-10-05 15:57:05 -0400 |
---|---|---|
committer | Bill Meier <wmeier@newsguy.com> | 2014-10-05 20:19:02 +0000 |
commit | 0b18d6cb77022494a875e6e0d9d2ad27fb6ac6d9 (patch) | |
tree | 8cb06839ae3a921f3238c5979da986e4c0358638 /epan/dissectors/packet-nntp.c | |
parent | e2bdfa101b4a60318c9d7ba3dc3487418b5951b6 (diff) |
Add editor modelines; Adjust whitespace as needed.
Change-Id: I6e70c933ae61a97377235d67b2f6a1b3d67dc155
Reviewed-on: https://code.wireshark.org/review/4484
Reviewed-by: Bill Meier <wmeier@newsguy.com>
Diffstat (limited to 'epan/dissectors/packet-nntp.c')
-rw-r--r-- | epan/dissectors/packet-nntp.c | 23 |
1 files changed, 18 insertions, 5 deletions
diff --git a/epan/dissectors/packet-nntp.c b/epan/dissectors/packet-nntp.c index fe8abe0c5c..92d4ca4a5b 100644 --- a/epan/dissectors/packet-nntp.c +++ b/epan/dissectors/packet-nntp.c @@ -41,17 +41,17 @@ static gint ett_nntp = -1; static void dissect_nntp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) { - const gchar *type; + const gchar *type; proto_tree *nntp_tree; proto_item *ti; gint offset = 0; gint next_offset; int linelen; - if (pinfo->match_uint == pinfo->destport) - type = "Request"; - else - type = "Response"; + if (pinfo->match_uint == pinfo->destport) + type = "Request"; + else + type = "Response"; col_set_str(pinfo->cinfo, COL_PROTOCOL, "NNTP"); @@ -137,3 +137,16 @@ proto_reg_handoff_nntp(void) nntp_handle = create_dissector_handle(dissect_nntp, proto_nntp); dissector_add_uint("tcp.port", TCP_PORT_NNTP, nntp_handle); } + +/* + * Editor modelines - http://www.wireshark.org/tools/modelines.html + * + * Local variables: + * c-basic-offset: 8 + * tab-width: 8 + * indent-tabs-mode: t + * End: + * + * vi: set shiftwidth=8 tabstop=8 noexpandtab: + * :indentSize=8:tabSize=8:noTabs=false: + */ |