diff options
author | Stig Bjørlykke <stig@bjorlykke.org> | 2008-10-31 15:47:47 +0000 |
---|---|---|
committer | Stig Bjørlykke <stig@bjorlykke.org> | 2008-10-31 15:47:47 +0000 |
commit | 58e2d7a0d6b075b7b8dc6234604ed8bdeefd0833 (patch) | |
tree | 356836a2f4be60de2f769615e60bacf6bf8399d1 /epan/dissectors/packet-xml.c | |
parent | e6a22e689e2577eb9a3b6f77de22ac540795a1a3 (diff) |
Fix some "format not a string literal and no format arguments" warnings.
svn path=/trunk/; revision=26649
Diffstat (limited to 'epan/dissectors/packet-xml.c')
-rw-r--r-- | epan/dissectors/packet-xml.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-xml.c b/epan/dissectors/packet-xml.c index 9b6f6453e4..06de352c1a 100644 --- a/epan/dissectors/packet-xml.c +++ b/epan/dissectors/packet-xml.c @@ -292,7 +292,7 @@ static void after_xmlpi(void* tvbparse_data, const void* wanted_data _U_, tvbpar xml_frame_t* current_frame = g_ptr_array_index(stack,stack->len - 1); proto_tree_add_text(current_frame->tree, - tok->tvb, tok->offset, tok->len, + tok->tvb, tok->offset, tok->len, "%s", tvb_format_text(tok->tvb,tok->offset,tok->len)); if (stack->len > 1) { |