winsrepl: don't THROW() an exception from a dissector
authorMartin Kaiser <wireshark@kaiser.cx>
Thu, 26 May 2016 13:22:57 +0000 (15:22 +0200)
committerMartin Kaiser <wireshark@kaiser.cx>
Mon, 30 May 2016 20:50:28 +0000 (20:50 +0000)
commitc046ea826c946355f4f406cbb5209e39fbb89444
tree226d51df1658f2ea66fbbdd3c60be694a0c1358c
parent023da37f3bdb9eddc0fa7681554fa0a9c0b10bba
winsrepl: don't THROW() an exception from a dissector

we can simply exit, returning the number of bytes we processed
delete an unnecessary cast while it at

Change-Id: I77596a315fcb4c64a0ad017d2b77b702b1829144
Reviewed-on: https://code.wireshark.org/review/15625
Reviewed-by: Martin Kaiser <wireshark@kaiser.cx>
epan/dissectors/packet-winsrepl.c