diff options
author | Ulf Lamping <ulf.lamping@web.de> | 2006-06-22 19:17:43 +0000 |
---|---|---|
committer | Ulf Lamping <ulf.lamping@web.de> | 2006-06-22 19:17:43 +0000 |
commit | a016d9ee4542e8d341805736d2d5f7eaf35c954b (patch) | |
tree | 0496e6518fd0d9c79597bf284e8f4d0c3420b59f | |
parent | e7100e5e8e950edb379241cb8cb6328d6f6b6803 (diff) |
fix a (correct) compiler warning
svn path=/trunk/; revision=18548
-rw-r--r-- | plugins/profinet/packet-pn-dcp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/profinet/packet-pn-dcp.c b/plugins/profinet/packet-pn-dcp.c index f2f1e1042b..c8411c2b93 100644 --- a/plugins/profinet/packet-pn-dcp.c +++ b/plugins/profinet/packet-pn-dcp.c @@ -862,7 +862,7 @@ dissect_PNDCP_PDU(tvbuff_t *tvb, is_response = TRUE; break; default: - proto_tree_add_string_format(tree, hf_pn_dcp_data, tvb, offset, tvb_length_remaining(tvb, offset), "data", + item = proto_tree_add_string_format(tree, hf_pn_dcp_data, tvb, offset, tvb_length_remaining(tvb, offset), "data", "PN-DCP Unknown service type %u, Data: %d bytes", service_type, tvb_length_remaining(tvb, offset)); expert_add_info_format(pinfo, item, PI_UNDECODED, PI_WARN, "Undecoded service type %u, %u bytes", |