postgres: improve detection (#1831)
Remove some dead code (found via coverage report)
This commit is contained in:
@@ -40,9 +40,6 @@ static int z3950_parse_sequences(struct ndpi_packet_struct const * const packet,
|
||||
int cur_sequences = 0;
|
||||
u_int8_t pdu_type;
|
||||
|
||||
if(packet->payload_packet_len < 2)
|
||||
return(-1);
|
||||
|
||||
pdu_type = packet->payload[0] & 0x1F;
|
||||
|
||||
if(((pdu_type < 20) || (pdu_type > 36)) && ((pdu_type < 43) || (pdu_type > 48)))
|
||||
|
||||
Reference in New Issue
Block a user