diff options
author | Luca Deri <deri@ntop.org> | 2016-11-20 20:24:39 +0100 |
---|---|---|
committer | Luca Deri <deri@ntop.org> | 2016-11-20 20:24:39 +0100 |
commit | b25e3e091736c2ae72c9d1a0a21296426cdbdcad (patch) | |
tree | f23be6fb991d30a2a586475a6a75fa179a89ff34 /src | |
parent | f571d7ed3a8c7c31c41ec5b40c331c266b6cec7b (diff) |
Compilation fix
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/protocols/http.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/protocols/http.c b/src/lib/protocols/http.c index 6c7db2d7d..72ab9f9dc 100644 --- a/src/lib/protocols/http.c +++ b/src/lib/protocols/http.c @@ -840,7 +840,8 @@ static void ndpi_check_http_tcp(struct ndpi_detection_module_struct *ndpi_struct } /* Check for 1kxun packet */ - for (int a = 0; a < packet->parsed_lines; a++) { + int a; + for (a = 0; a < packet->parsed_lines; a++) { if((memcmp(packet->line[a].ptr, "Client-Source:", 14)) == 0) { if((memcmp(packet->line[a].ptr+15, "1kxun", 5)) == 0) { kxun_counter++; |