Fix the description of dissector_try_uint_new().
We return the number of bytes consumed by the dissector. Change-Id: Icc22c9e033dfb11f230fb59cfb79932bc8c80548 Reviewed-on: https://code.wireshark.org/review/21164 Petri-Dish: Martin Kaiser <wireshark@kaiser.cx> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Martin Kaiser <wireshark@kaiser.cx>
This commit is contained in:
parent
6d67dff656
commit
07e2f65b96
|
@ -1285,8 +1285,8 @@ dissector_reset_uint(const char *name, const guint32 pattern)
|
|||
}
|
||||
|
||||
/* Look for a given value in a given uint dissector table and, if found,
|
||||
call the dissector with the arguments supplied, and return TRUE,
|
||||
otherwise return FALSE. */
|
||||
call the dissector with the arguments supplied, and return the number
|
||||
of bytes consumed by the dissector, otherwise return 0. */
|
||||
|
||||
int
|
||||
dissector_try_uint_new(dissector_table_t sub_dissectors, const guint32 uint_val,
|
||||
|
|
Loading…
Reference in New Issue