aboutsummaryrefslogtreecommitdiffstats
path: root/file.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2004-01-13 21:49:52 +0000
committerGuy Harris <guy@alum.mit.edu>2004-01-13 21:49:52 +0000
commit6c01a97497e2ce65b4783661d8466a86832a8cdb (patch)
tree4c5d457230800c40e9f816fb8845c3429f4873b9 /file.h
parent053ec89a5da1f015964dc84040f887b76ce0b53f (diff)
You can't rely on "proto_tree_add_item()" returning a non-null pointer,
so you can't rely on getting the length of an FT_UINT_STRING item by calling "proto_tree_add_item()" and fetching the item length from the item. Get the length of the string explicitly, and advance the offset by the length of the string plus the length of the length field. svn path=/trunk/; revision=9658
Diffstat (limited to 'file.h')
0 files changed, 0 insertions, 0 deletions