diff options
author | Campus <campus@ntop.org> | 2016-11-13 18:45:50 +0100 |
---|---|---|
committer | Campus <campus@ntop.org> | 2016-11-13 18:45:50 +0100 |
commit | d86e5047799ffc667120a288c15de30996af37a5 (patch) | |
tree | 1a573770eaf5e8eb99287962b7d7bb8ef037c5ec /src/lib/protocols/git.c | |
parent | 2005979f46528fc078986dc5d240279bffe2daaf (diff) | |
parent | 3d6b4d4dffaef67d9f49380a39a248e7b7756da4 (diff) |
Merge branch 'alagoutte-warning' into dev
Diffstat (limited to 'src/lib/protocols/git.c')
-rw-r--r-- | src/lib/protocols/git.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/protocols/git.c b/src/lib/protocols/git.c index e156b7913..a60a94fe1 100644 --- a/src/lib/protocols/git.c +++ b/src/lib/protocols/git.c @@ -35,7 +35,7 @@ void ndpi_search_git(struct ndpi_detection_module_struct *ndpi_struct, const u_int8_t * pp = packet->payload; u_int16_t payload_len = packet->payload_packet_len; u_int8_t found_git = 1; - u_int16_t git_len = 0, offset = 0; + u_int16_t offset = 0; while((offset+4) < payload_len) { char len[5]; |