diff options
author | Stuart Reilly <rs576h@vyatta.att-mail.com> | 2019-07-12 15:59:11 +0100 |
---|---|---|
committer | Stuart Reilly <rs576h@vyatta.att-mail.com> | 2019-07-12 15:59:11 +0100 |
commit | 929cbbb7fc8e3ddd6a4983b89dd5799fa0fffb17 (patch) | |
tree | 62c277c3241306e7171d45ce2a05fd73d487c833 /src/lib/protocols/http.c | |
parent | 5ce5bae99dbb999921e50945495a5160c9de2953 (diff) |
Add compiler warnings and fix them
Diffstat (limited to 'src/lib/protocols/http.c')
-rw-r--r-- | src/lib/protocols/http.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/lib/protocols/http.c b/src/lib/protocols/http.c index de2bb032e..1f5b88c7a 100644 --- a/src/lib/protocols/http.c +++ b/src/lib/protocols/http.c @@ -425,10 +425,6 @@ static struct l_string { STATIC_STRING_L("REPORT ") }; static const char *http_fs = "CDGHOPR"; -static uint8_t non_ctrl(uint8_t c) { - return c < 32 ? '.':c; -} - static u_int16_t http_request_url_offset(struct ndpi_detection_module_struct *ndpi_struct, struct ndpi_flow_struct *flow) { struct ndpi_packet_struct *packet = &flow->packet; |