forked from osmocom/wireshark
make our counting a bit clearer
Change-Id: Ie64573f5a0b6e921a5011e487eea8e55f72b9a0b Reviewed-on: https://code.wireshark.org/review/5653 Reviewed-by: Martin Kaiser <wireshark@kaiser.cx> Tested-by: Martin Kaiser <wireshark@kaiser.cx>
This commit is contained in:
parent
e456dec48b
commit
a68a3daa01
|
@ -197,9 +197,11 @@ tvb_uncompress(tvbuff_t *tvb, const int offset, int comprlen)
|
|||
|
||||
c++;
|
||||
flags = *c;
|
||||
c++;
|
||||
|
||||
/* Skip past the MTIME, XFL, and OS fields. */
|
||||
c += 7;
|
||||
/* Skip past the MTIME (4 bytes),
|
||||
XFL, and OS fields (1 byte each). */
|
||||
c += 6;
|
||||
|
||||
if (flags & (1 << 2)) {
|
||||
/* An Extra field is present. */
|
||||
|
|
Loading…
Reference in New Issue