We pass the file handle to snoop_read_shomiti_wireless_pseudoheader();

use that.

svn path=/trunk/; revision=29960
This commit is contained in:
Guy Harris 2009-09-17 03:00:20 +00:00
parent e1a486db4b
commit aa33901ae3
1 changed files with 1 additions and 1 deletions

View File

@ -785,7 +785,7 @@ snoop_read_shomiti_wireless_pseudoheader(FILE_T fh,
}
/* Skip the header. */
rsize = ((int) whdr.pad[3]) - 8;
if (file_seek(wth->fh, rsize, SEEK_CUR, err) == -1)
if (file_seek(fh, rsize, SEEK_CUR, err) == -1)
return FALSE;
pseudo_header->ieee_802_11.fcs_len = 4;