aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-soupbintcp.c
diff options
context:
space:
mode:
authorBill Meier <wmeier@newsguy.com>2013-12-12 23:11:04 +0000
committerBill Meier <wmeier@newsguy.com>2013-12-12 23:11:04 +0000
commit37f60fa2d62eeed4a9fc31142fb036cc4ecf1a20 (patch)
treee22c68a294e2d7d0e75d939e265450fd9861378e /epan/dissectors/packet-soupbintcp.c
parent5db2d622e4fa800d406efe94d0b961bebd60420c (diff)
In one or more of the files:
- Create/use some extended value-strings; - Remove some unneeded initializers; - 'offset++' --> 'offset += 1' for consistency; - Set editor modelines 'tab-width' to 8 (not 4); - tabs --> spaces (to match editor modelines); - Rework/add whitespace. svn path=/trunk/; revision=53998
Diffstat (limited to 'epan/dissectors/packet-soupbintcp.c')
-rw-r--r--epan/dissectors/packet-soupbintcp.c26
1 files changed, 13 insertions, 13 deletions
diff --git a/epan/dissectors/packet-soupbintcp.c b/epan/dissectors/packet-soupbintcp.c
index 704c0661fd..ce9f934810 100644
--- a/epan/dissectors/packet-soupbintcp.c
+++ b/epan/dissectors/packet-soupbintcp.c
@@ -180,17 +180,17 @@ dissect_soupbintcp_common(
proto_tree *tree)
{
struct conv_data *conv_data;
- struct pdu_data *pdu_data;
- tvbuff_t *sub_tvb = NULL;
- const char *pkt_name;
- const char *tmp_buf;
- proto_item *ti;
- proto_tree *soupbintcp_tree = NULL;
- conversation_t *conv = NULL;
- guint16 expected_len;
- guint8 pkt_type;
- gint offset = 0;
- guint this_seq = 0, next_seq;
+ struct pdu_data *pdu_data;
+ tvbuff_t *sub_tvb = NULL;
+ const char *pkt_name;
+ const char *tmp_buf;
+ proto_item *ti;
+ proto_tree *soupbintcp_tree = NULL;
+ conversation_t *conv = NULL;
+ guint16 expected_len;
+ guint8 pkt_type;
+ gint offset = 0;
+ guint this_seq = 0, next_seq;
/* Get the 16-bit big-endian SOUP packet length */
expected_len = tvb_get_ntohs(tvb, 0);
@@ -482,10 +482,10 @@ dissect_soupbintcp_tcp(
static void
soupbintcp_prefs(void)
{
- dissector_delete_uint_range("tcp.port", soupbintcp_range, soupbintcp_handle);
+ dissector_delete_uint_range("tcp.port", soupbintcp_range, soupbintcp_handle);
g_free(soupbintcp_range);
soupbintcp_range = range_copy(global_soupbintcp_range);
- dissector_add_uint_range("tcp.port", soupbintcp_range, soupbintcp_handle);
+ dissector_add_uint_range("tcp.port", soupbintcp_range, soupbintcp_handle);
}