diff options
author | etxrab <etxrab@f5534014-38df-0310-8fa8-9805f1628bb7> | 2009-05-14 19:11:43 +0000 |
---|---|---|
committer | etxrab <etxrab@f5534014-38df-0310-8fa8-9805f1628bb7> | 2009-05-14 19:11:43 +0000 |
commit | f2c129036d394fbded583243c1363235ab74d254 (patch) | |
tree | 98d31cbdd9e0a13497383d66e7db1aef29d51d51 /epan/dissectors/packet-giop.c | |
parent | e4a7cd07ae61dfb1c5c79ce5de45a78f2fbe791b (diff) |
Apply some of the patches from:
http://wiki.wireshark.org/Development/Optimization
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28362 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-giop.c')
-rw-r--r-- | epan/dissectors/packet-giop.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/epan/dissectors/packet-giop.c b/epan/dissectors/packet-giop.c index eaf56b2568..36594f25fd 100644 --- a/epan/dissectors/packet-giop.c +++ b/epan/dissectors/packet-giop.c @@ -3962,8 +3962,7 @@ static void dissect_giop_common (tvbuff_t * tvb, packet_info * pinfo, proto_tree if (header.flags & 0x08) { - payload_tvb = tvb_uncompress( tvb, GIOP_HEADER_SIZE, tvb_length_remaining(tvb, GIOP_HEADER_SIZE ) ); - tvb_set_child_real_data_tvbuff( tvb, payload_tvb ); + payload_tvb = tvb_child_uncompress(tvb, tvb, GIOP_HEADER_SIZE, tvb_length_remaining(tvb, GIOP_HEADER_SIZE ) ); add_new_data_source (pinfo, payload_tvb, "decompressed Content"); } |