From 80407a46df538011c1dcea96714c401a4078a697 Mon Sep 17 00:00:00 2001 From: Michael Mann Date: Sat, 6 Sep 2014 08:44:23 -0400 Subject: Eliminate proto_tree_add_text from some of the dissectors. Other minor cleanups while in the area. Change-Id: I99096ade9c69a4c148962d45bb6b0bd775040ba1 Reviewed-on: https://code.wireshark.org/review/4020 Petri-Dish: Michael Mann Tested-by: Petri Dish Buildbot Reviewed-by: Michael Mann --- epan/dissectors/packet-rsip.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'epan/dissectors/packet-rsip.c') diff --git a/epan/dissectors/packet-rsip.c b/epan/dissectors/packet-rsip.c index cf8681b1b2..c5557dd7f8 100644 --- a/epan/dissectors/packet-rsip.c +++ b/epan/dissectors/packet-rsip.c @@ -341,8 +341,7 @@ rsip_parameter(tvbuff_t *tvb, proto_tree *rsip_tree, int off, int eoff) ": Any Fully Qualified Domain Name"); break; default: - proto_tree_add_text(p_tree, tvb, off + 4, - paramlen - 1, ": Unknown Address Type"); + proto_item_append_text(pti, ": Unknown Address Type"); break; } break; -- cgit v1.2.3