diff options
author | Chris Maynard <Christopher.Maynard@GTECH.COM> | 2011-05-12 17:19:10 +0000 |
---|---|---|
committer | Chris Maynard <Christopher.Maynard@GTECH.COM> | 2011-05-12 17:19:10 +0000 |
commit | 1f1789fa41d14015782f957103a08ea204f71197 (patch) | |
tree | 6a7f9439327875b1ebb09dd858cc48bb5a9109f3 /epan/dissectors/packet-wai.c | |
parent | a01a5271667fb2938270cb4a492c54160d1eb0f8 (diff) |
Use nonce_2_item instead of incorrect nonce_1_item. Fixes Coverity CID 1071.
svn path=/trunk/; revision=37086
Diffstat (limited to 'epan/dissectors/packet-wai.c')
-rw-r--r-- | epan/dissectors/packet-wai.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-wai.c b/epan/dissectors/packet-wai.c index 3848315a26..9c993424d8 100644 --- a/epan/dissectors/packet-wai.c +++ b/epan/dissectors/packet-wai.c @@ -455,10 +455,10 @@ dissect_multiple_certificate(tvbuff_t * tvb, guint offset, proto_tree *tree) offset += 2; nonce_1_item = proto_tree_add_item(multicert_tree, hf_wai_nonce, tvb, offset, 32, FALSE); offset += 32; - proto_item_append_text(nonce_1_item, " %d", 1); + proto_item_append_text(nonce_1_item, " 1"); nonce_2_item = proto_tree_add_item(multicert_tree, hf_wai_nonce, tvb, offset, 32, FALSE); offset += 32; - proto_item_append_text(nonce_1_item, " %d", 2); + proto_item_append_text(nonce_2_item, " 2"); proto_tree_add_item(multicert_tree, hf_wai_ver_res, tvb, offset, 1, FALSE); offset++; offset += dissect_certificate(tvb, offset, multicert_tree, "1 "); |