diff options
author | Luca Deri <deri@ntop.org> | 2017-12-13 08:04:51 +0100 |
---|---|---|
committer | Luca Deri <deri@ntop.org> | 2017-12-13 08:04:51 +0100 |
commit | a06c3995302981f35121ec154a718507954d4efd (patch) | |
tree | c070cdb9fa9d50393a4d956617bdd985a98c5e7d /src/lib | |
parent | cd12a8608883f7079ff877db6b3a769860f36951 (diff) |
Compilation fixes
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/protocols/http.c | 2 | ||||
-rw-r--r-- | src/lib/protocols/pando.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/protocols/http.c b/src/lib/protocols/http.c index 50eef99ed..187f2a84a 100644 --- a/src/lib/protocols/http.c +++ b/src/lib/protocols/http.c @@ -492,7 +492,7 @@ static struct l_string { STATIC_STRING_L("REPORT ") }; static const char *http_fs = "CDGHOPR"; -static inline uint8_t non_ctrl(uint8_t c) { +static uint8_t non_ctrl(uint8_t c) { return c < 32 ? '.':c; } diff --git a/src/lib/protocols/pando.c b/src/lib/protocols/pando.c index e5f292550..ccf1ee12d 100644 --- a/src/lib/protocols/pando.c +++ b/src/lib/protocols/pando.c @@ -121,7 +121,7 @@ static void ndpi_check_pando_udp(struct ndpi_detection_module_struct *ndpi_struc NDPI_LOG_INFO(ndpi_struct, "found PANDO\n"); ndpi_int_pando_add_connection(ndpi_struct, flow); } else { - NDPI_LOG_DBG2(ndpi_struct, "The reply did not seem to belong to PANDO, resetting the stage to 0\n") + NDPI_LOG_DBG2(ndpi_struct, "The reply did not seem to belong to PANDO, resetting the stage to 0\n"); flow->pando_stage = 0; } } |