aboutsummaryrefslogtreecommitdiff
path: root/src/lib/protocols/http.c
diff options
context:
space:
mode:
authorCampus <campus@ntop.org>2016-11-12 16:35:25 +0100
committerCampus <campus@ntop.org>2016-11-12 16:35:25 +0100
commit48a206a4347d38f0bed322d194ce40076417ac59 (patch)
tree0c3349a86f167b984e27f54416e6a5d5e2a69c95 /src/lib/protocols/http.c
parent4564b973df4fd6bbc90782ee98f80e459416b244 (diff)
parent3a6d2c7c5f28dacca0a99f0e122e10807cce22fb (diff)
Merge branch 'alagoutte-scan-build' into dev
Diffstat (limited to 'src/lib/protocols/http.c')
-rw-r--r--src/lib/protocols/http.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/protocols/http.c b/src/lib/protocols/http.c
index 11ea138db..4e4d01ca2 100644
--- a/src/lib/protocols/http.c
+++ b/src/lib/protocols/http.c
@@ -164,7 +164,7 @@ static void setHttpUserAgent(struct ndpi_flow_struct *flow, char *ua) {
static void parseHttpSubprotocol(struct ndpi_detection_module_struct *ndpi_struct, struct ndpi_flow_struct *flow) {
// int i = 0;
- struct ndpi_packet_struct *packet = &flow->packet;
+ //struct ndpi_packet_struct *packet = &flow->packet;
if((flow->l4.tcp.http_stage == 0)
|| (flow->http.url && flow->http_detected)) {