Changing the HTTP's analyzers internals to use 64-bit integers.

(Gregor Maier).

This is the patch from #326, plus some cleanup.
This commit is contained in:
Robin Sommer 2011-04-27 21:25:51 -07:00
parent 80376653c2
commit 714289bd13
13 changed files with 56 additions and 62 deletions

View file

@ -29,7 +29,7 @@ public:
u_char msg_type;
u_char msg_ttl;
char payload[GNUTELLA_MAX_PAYLOAD];
int payload_len;
unsigned int payload_len;
unsigned int payload_left;
};