aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-bacapp.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2011-05-14 00:50:22 +0000
committerGuy Harris <guy@alum.mit.edu>2011-05-14 00:50:22 +0000
commit587f850bfd86cebfd485c12e31b9d295e8175a49 (patch)
treee2df7f780ef845487011184c75d987fa01e903b8 /epan/dissectors/packet-bacapp.c
parentacd01c89d92e06f6ad1b4509ab724a6fa5fdd2fa (diff)
Make the tree items for strings look a little less ugly.
Note that the string value should be put into the protocol tree. svn path=/trunk/; revision=37137
Diffstat (limited to 'epan/dissectors/packet-bacapp.c')
-rw-r--r--epan/dissectors/packet-bacapp.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/epan/dissectors/packet-bacapp.c b/epan/dissectors/packet-bacapp.c
index 95e0ab36c0..bc33e66d05 100644
--- a/epan/dissectors/packet-bacapp.c
+++ b/epan/dissectors/packet-bacapp.c
@@ -5435,7 +5435,7 @@ fCharacterString (tvbuff_t *tvb, proto_tree *tree, guint offset, const gchar *la
coding = "unknown";
break;
}
- ti = proto_tree_add_text(tree, tvb, offset, l, "%s%s'%s'", label, coding, out);
+ ti = proto_tree_add_text(tree, tvb, offset, l, "%s%s '%s'", label, coding, out);
lvt-=l;
offset+=l;
} while (lvt > 0);
@@ -5448,6 +5448,7 @@ fCharacterString (tvbuff_t *tvb, proto_tree *tree, guint offset, const gchar *la
if (character_set == 1) {
proto_tree_add_text(subtree, tvb, start+offs+1, 2, "Code Page: %d", tvb_get_ntohs(tvb, start+offs+1));
}
+ /* XXX - put the string value here */
}
return offset;
}