diff options
author | Bill Meier <wmeier@newsguy.com> | 2013-10-13 19:56:52 +0000 |
---|---|---|
committer | Bill Meier <wmeier@newsguy.com> | 2013-10-13 19:56:52 +0000 |
commit | 2ac134b3c5bbc4020fd64b878db984f526b432cb (patch) | |
tree | b1e8da19850152341ebe466ee3abe9689279d938 /epan/dissectors/packet-json.c | |
parent | 59277781ffca44a2cccb5e935ce3737aabbf4da6 (diff) |
whitespace fixes; mostly: remove trailing blanks
svn path=/trunk/; revision=52591
Diffstat (limited to 'epan/dissectors/packet-json.c')
-rw-r--r-- | epan/dissectors/packet-json.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/epan/dissectors/packet-json.c b/epan/dissectors/packet-json.c index d72d2ea326..00882d529a 100644 --- a/epan/dissectors/packet-json.c +++ b/epan/dissectors/packet-json.c @@ -154,7 +154,7 @@ dissect_json(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) if (tvb_length_remaining(tvb, offset) > 0) { int datalen, reported_datalen; tvbuff_t *next_tvb; - + datalen = tvb_length_remaining(tvb, offset); reported_datalen = tvb_reported_length_remaining(tvb, offset); @@ -362,7 +362,7 @@ static char *json_string_unescape(tvbparse_elem_t *tok) } } - } else + } else str[j++] = ch; } @@ -502,7 +502,7 @@ static void init_json_parser(void) { tvbparse_optional(-1, NULL, NULL, NULL, tvbparse_set_seq(-1, NULL, NULL, NULL, want_value, - tvbparse_some(-1, 0, G_MAXINT, NULL, NULL, NULL, + tvbparse_some(-1, 0, G_MAXINT, NULL, NULL, NULL, tvbparse_set_seq(-1, NULL, NULL, NULL, want_value_separator, want_value, @@ -526,7 +526,7 @@ static void init_json_parser(void) { tvbparse_optional(-1, NULL, NULL, NULL, tvbparse_set_seq(-1, NULL, NULL, NULL, want_member, - tvbparse_some(-1, 0, G_MAXINT, NULL, NULL, NULL, + tvbparse_some(-1, 0, G_MAXINT, NULL, NULL, NULL, tvbparse_set_seq(-1, NULL, NULL, NULL, want_value_separator, want_member, |