summaryrefslogtreecommitdiff
path: root/epan/reassemble.c
diff options
context:
space:
mode:
authorJeff Morriss <jeff.morriss@ulticom.com>2010-10-30 16:00:30 +0000
committerJeff Morriss <jeff.morriss@ulticom.com>2010-10-30 16:00:30 +0000
commite17b9ccec18b9efaacb370ff715c19b09f1b4ea0 (patch)
tree96ced51f0ba70bc067960c979a5243c43d4a52d7 /epan/reassemble.c
parentb94da93586f8af151aea9ef60e2d409761371a5a (diff)
downloadwireshark-e17b9ccec18b9efaacb370ff715c19b09f1b4ea0.tar.gz
Rev 29427 added packet_add_new_data_source() with a comment indicating that
the data source does not need to be allocated if (!tree). Rev 30158 took the if (!tree) check out indicating that the check was invalid. So: (since packet_add_new_data_source() now only calls add_new_data_source()), remove packet_add_new_data_source(). svn path=/trunk/; revision=34717
Diffstat (limited to 'epan/reassemble.c')
-rw-r--r--epan/reassemble.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/reassemble.c b/epan/reassemble.c
index a82622f175..b88588cbea 100644
--- a/epan/reassemble.c
+++ b/epan/reassemble.c
@@ -1914,7 +1914,7 @@ process_reassembled_data(tvbuff_t *tvb, const int offset, packet_info *pinfo,
tvb_set_child_real_data_tvbuff(tvb, next_tvb);
/* Add the defragmented data to the data source list. */
- packet_add_new_data_source(pinfo, tree, next_tvb, name);
+ add_new_data_source(pinfo, next_tvb, name);
/* show all fragments */
if (fd_head->flags & FD_BLOCKSEQUENCE) {