diff options
Diffstat (limited to 'src/lib/protocols/protobuf.c')
-rw-r--r-- | src/lib/protocols/protobuf.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/lib/protocols/protobuf.c b/src/lib/protocols/protobuf.c index 2ba63670d..003cc2fad 100644 --- a/src/lib/protocols/protobuf.c +++ b/src/lib/protocols/protobuf.c @@ -92,11 +92,6 @@ protobuf_dissect_varint(struct ndpi_packet_struct const * const packet, } } - if (i == 10) - { - return -1; - } - *offset += i + 1; return 0; } |