aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-sip.c
diff options
context:
space:
mode:
authorwmeier <wmeier@f5534014-38df-0310-8fa8-9805f1628bb7>2011-10-21 02:10:19 +0000
committerwmeier <wmeier@f5534014-38df-0310-8fa8-9805f1628bb7>2011-10-21 02:10:19 +0000
commit06b82a395a87dfcf4139fb44caeb9f4952f56b6d (patch)
treea955184a13d8444bdec0de9200f261c46cfa2734 /epan/dissectors/packet-sip.c
parent75cdd631a75832f542fe2b02ea6a469fdfcffa8a (diff)
For proto_tree_add_item(..., proto_xxx, ...)use ENC_NA as the encoding arg.
Also: remove trailing whitespace for a number of files. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@39503 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-sip.c')
-rw-r--r--epan/dissectors/packet-sip.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-sip.c b/epan/dissectors/packet-sip.c
index 16d80058cf..e37380ba31 100644
--- a/epan/dissectors/packet-sip.c
+++ b/epan/dissectors/packet-sip.c
@@ -1879,7 +1879,7 @@ dissect_sip_common(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tr
}
if (tree) {
- ts = proto_tree_add_item(tree, proto_sip, tvb, offset, -1, FALSE);
+ ts = proto_tree_add_item(tree, proto_sip, tvb, offset, -1, ENC_NA);
sip_tree = proto_item_add_subtree(ts, ett_sip);
}
@@ -3103,7 +3103,7 @@ tvb_raw_text_add(tvbuff_t *tvb, int offset, int length, proto_tree *tree)
char *str;
if (tree) {
- ti = proto_tree_add_item(tree, proto_raw_sip, tvb, offset, length, FALSE);
+ ti = proto_tree_add_item(tree, proto_raw_sip, tvb, offset, length, ENC_NA);
raw_tree = proto_item_add_subtree(ti, ett_raw_text);
}