Make it clearer that we're using the packet length read from the packet

header when reading packets randomly.

svn path=/trunk/; revision=54520
This commit is contained in:
Guy Harris 2013-12-31 23:33:49 +00:00
parent eeda7ec1ae
commit a628e77311
1 changed files with 2 additions and 1 deletions

View File

@ -451,9 +451,10 @@ catapult_dct2000_read(wtap *wth, int *err, gchar **err_info,
static gboolean
catapult_dct2000_seek_read(wtap *wth, gint64 seek_off,
struct wtap_pkthdr *phdr, Buffer *buf,
int length, int *err, gchar **err_info)
int len _U_, int *err, gchar **err_info)
{
gint64 offset = 0;
int length;
long dollar_offset, before_time_offset, after_time_offset;
static gchar linebuff[MAX_LINE_LENGTH+1];
gchar aal_header_chars[AAL_HEADER_CHARS];