diff options
author | Anders Broman <anders.broman@ericsson.com> | 2010-01-13 20:25:10 +0000 |
---|---|---|
committer | Anders Broman <anders.broman@ericsson.com> | 2010-01-13 20:25:10 +0000 |
commit | c4dd31cd8792c964cc6e0fa9bfc6ed03caa9aeb7 (patch) | |
tree | 3f74d12b3e1f71d1d0116091ca8cddf53479683a /epan/dissectors/packet-idp.c | |
parent | 37cb4333a449ef51fd9eab22b22713e4ba277f9b (diff) |
From Didier Gautheron:
col_clear.diff
Remove calls to col_clear :
- called twice.
- before functions which also clear the column
- by replacing col_clear + col_append_xxx with col_add_xxx
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4394
svn path=/trunk/; revision=31517
Diffstat (limited to 'epan/dissectors/packet-idp.c')
-rw-r--r-- | epan/dissectors/packet-idp.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/epan/dissectors/packet-idp.c b/epan/dissectors/packet-idp.c index ea60b66065..3bb2bd0d30 100644 --- a/epan/dissectors/packet-idp.c +++ b/epan/dissectors/packet-idp.c @@ -89,8 +89,6 @@ dissect_idp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) col_set_str(pinfo->cinfo, COL_PROTOCOL, "IDP"); col_clear(pinfo->cinfo, COL_INFO); - col_clear(pinfo->cinfo, COL_INFO); - if (tree) { ti = proto_tree_add_item(tree, proto_idp, tvb, 0, IDP_HEADER_LEN, FALSE); idp_tree = proto_item_add_subtree(ti, ett_idp); |