From fb4cdecb688917536649cd2562e400f261fe8d43 Mon Sep 17 00:00:00 2001 From: Luca Deri Date: Thu, 18 Feb 2021 13:31:02 +0100 Subject: Fixes due to the fragment mananegr code --- src/lib/ndpi_utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lib/ndpi_utils.c') diff --git a/src/lib/ndpi_utils.c b/src/lib/ndpi_utils.c index f69087d2d..749e2e91e 100644 --- a/src/lib/ndpi_utils.c +++ b/src/lib/ndpi_utils.c @@ -1814,6 +1814,7 @@ ndpi_http_method ndpi_http_str2method(const char* method, u_int16_t method_len) return(NDPI_HTTP_METHOD_UNKNOWN); } +#ifdef FRAG_MAN #define ARRAYSZ_255 255 void printRawData(const uint8_t *ptr, size_t len) { uint8_t *p=(uint8_t*)ptr; @@ -1878,7 +1879,6 @@ void shell_sort_array(sorter_index_item_t arr[], int n) { } /* ******************************************************************** */ -#ifdef FRAG_MAN void free_fragment(fragments_wrapper_t *frag) { /* -- cgit v1.2.3