aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-sdp.c
diff options
context:
space:
mode:
authorPascal Quantin <pascal.quantin@gmail.com>2014-12-13 17:27:28 +0100
committerPascal Quantin <pascal.quantin@gmail.com>2014-12-13 16:36:13 +0000
commit80d44af6b22dd08f59281bf3531fb870bfc96393 (patch)
tree5450279b3abae4ec39e6cce927c0cda7db1e32e3 /epan/dissectors/packet-sdp.c
parentcc12c726b88a7f056a21f78fb531d0e2e986b133 (diff)
dissector_try_uint(_new) and dissector_try_string now return the number of bytes consumed
Change-Id: I528ad736caee1f29e2f0abfc0afcca6587d74eca Reviewed-on: https://code.wireshark.org/review/5743 Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
Diffstat (limited to 'epan/dissectors/packet-sdp.c')
-rw-r--r--epan/dissectors/packet-sdp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-sdp.c b/epan/dissectors/packet-sdp.c
index 440e4d6776..a93f6ed897 100644
--- a/epan/dissectors/packet-sdp.c
+++ b/epan/dissectors/packet-sdp.c
@@ -755,7 +755,7 @@ static void dissect_key_mgmt(tvbuff_t *tvb, packet_info * pinfo, proto_item * ti
gchar *prtcl_id = NULL;
gint len;
tvbuff_t *keymgmt_tvb;
- gboolean found_match = FALSE;
+ int found_match = 0;
proto_tree *key_tree;
gint next_offset;
gint offset = 0;