diff options
author | Guy Harris <guy@alum.mit.edu> | 2000-08-06 10:04:15 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2000-08-06 10:04:15 +0000 |
commit | a056a4d4469a97fed144343020231083889aa987 (patch) | |
tree | 8674f6a4991e831c2e63ca459e868b72e3b29846 /packet-x11.c | |
parent | ef5f866b73430d1df38f2fdd0df16a6d83598744 (diff) | |
download | wireshark-a056a4d4469a97fed144343020231083889aa987.tar.gz wireshark-a056a4d4469a97fed144343020231083889aa987.tar.bz2 wireshark-a056a4d4469a97fed144343020231083889aa987.zip |
Use "BYTES_ARE_IN_FRAME()" rather than explicitly checking an offset and
packet length.
Use "IS_DATA_IN_FRAME()", rather than checking if "offset+1" is greater
than "pi.captured_len", to check whether there's any data left in the
packet.
Check whether data is in the packet *before* extracting it and stuffing
an item into the tree with it.
svn path=/trunk/; revision=2216
Diffstat (limited to 'packet-x11.c')
0 files changed, 0 insertions, 0 deletions