nul_offset = tvb_find_guint8(tvb, abs_offset, -1, 0);
if (nul_offset == -1)
- nul_offset = tvb_captured_length(tvb) - 1;
+ nul_offset = tvb_length(tvb) - 1;
return (nul_offset - abs_offset) + 1;
}
proto_tree_add_item(gadu_gadu_tree, &hfi_gadu_gadu_data, tvb, offset, -1, ENC_NA);
}
- return tvb_captured_length(tvb);
+ return tvb_length(tvb);
}
static guint
col_clear(pinfo->cinfo, COL_INFO);
tcp_dissect_pdus(tvb, pinfo, tree, gadu_gadu_desegment, 8, get_gadu_gadu_pdu_len, dissect_gadu_gadu_pdu, data);
- return tvb_captured_length(tvb);
+ return tvb_length(tvb);
}
void