mongo: return the number of bytes we actually consumed
authorMartin Kaiser <wireshark@kaiser.cx>
Wed, 15 Jun 2016 20:02:39 +0000 (13:02 -0700)
committerAnders Broman <a.broman58@gmail.com>
Thu, 16 Jun 2016 00:09:36 +0000 (00:09 +0000)
commitb2c7e8eb013336f3ec28d374a6e1e7cd6abfb234
treeaafc1969b6f5984f0147d5acb13d7fa61d4ba55e
parentc5528d0b06176e5616b15519b26e071833f3f413
mongo: return the number of bytes we actually consumed

even if the document length is 0, we consumed at least 4 bytes for the
length field

bug: 12534
Change-Id: I2f1612bf575b558c1bcc0afe8202b202747846e3
Reviewed-on: https://code.wireshark.org/review/15934
Reviewed-by: Anders Broman <a.broman58@gmail.com>
epan/dissectors/packet-mongo.c