aboutsummaryrefslogtreecommitdiffstats
path: root/cmake/modules/FindM.cmake
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2018-04-18 19:33:34 -0700
committerGuy Harris <guy@alum.mit.edu>2018-04-19 02:34:11 +0000
commit735cfc8502e6dac8edfeb729e8c912ed897cb08b (patch)
treeb17a3be9a373335b6f0feff6f79265e4600ce050 /cmake/modules/FindM.cmake
parentd5c4c6972ed019e1cf52d268baecd41726760b90 (diff)
Clean up option handling.
If the option length is >= 2, so that it's long enough to include the code and length, always put it into the protocol tree, even if the length is invalid. If the length is invalid, attach an expert info item to the length field, rather than putting it into a top-level item of its own. Use a length of -1 for the top-level item for an option, rather than what the length is supposed to be; that way, we don't throw an exception if the option is too short - we just attach the aforementioned expert info item to the length. Change-Id: If2d987fa10739a7da28ca2c39515bfdf50da6ef9 Reviewed-on: https://code.wireshark.org/review/27018 Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'cmake/modules/FindM.cmake')
0 files changed, 0 insertions, 0 deletions