diff options
author | Luca Deri <deri@ntop.org> | 2019-12-09 00:29:02 +0100 |
---|---|---|
committer | Luca Deri <deri@ntop.org> | 2019-12-09 00:29:02 +0100 |
commit | c4d476cc583a2ef1e9814134efa4fbf484564ed7 (patch) | |
tree | f6a1c8dc478efcd0037e812ff37ea89ab0c31021 /src/lib/protocols/mail_smtp.c | |
parent | 23b0b8625d1f20596b2b20a149fb28c38046f4e1 (diff) |
Code improvements
Diffstat (limited to 'src/lib/protocols/mail_smtp.c')
-rw-r--r-- | src/lib/protocols/mail_smtp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/protocols/mail_smtp.c b/src/lib/protocols/mail_smtp.c index 86ff79486..353d2997d 100644 --- a/src/lib/protocols/mail_smtp.c +++ b/src/lib/protocols/mail_smtp.c @@ -73,7 +73,7 @@ void ndpi_search_mail_smtp_tcp(struct ndpi_detection_module_struct *ndpi_struct, && (packet->parsed_lines < NDPI_MAX_PARSE_LINES_PER_PACKET) && (ntohs(get_u_int16_t(packet->payload, packet->payload_packet_len - 2)) == 0x0d0a) ) { - u_int8_t a; + u_int16_t a; u_int8_t bit_count = 0; NDPI_PARSE_PACKET_LINE_INFO(ndpi_struct, flow, packet); |