projects
/
privoxy.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Implement a --statistics option that currently is mainly useful to look at keep-alive...
[privoxy.git]
/
parsers.c
diff --git
a/parsers.c
b/parsers.c
index
9aae353
..
1fb9983
100644
(file)
--- a/
parsers.c
+++ b/
parsers.c
@@
-1,4
+1,4
@@
-const char parsers_rcs[] = "$Id: parsers.c,v 1.20
7 2009/08/20 15:27:03
fabiankeil Exp $";
+const char parsers_rcs[] = "$Id: parsers.c,v 1.20
8 2009/09/06 14:10:07
fabiankeil Exp $";
/*********************************************************************
*
* File : $Source: /cvsroot/ijbswa/current/parsers.c,v $
/*********************************************************************
*
* File : $Source: /cvsroot/ijbswa/current/parsers.c,v $
@@
-1774,6
+1774,7
@@
static jb_err get_content_length(const char *header, unsigned long long *length)
assert(header[14] == ':');
#ifdef _WIN32
assert(header[14] == ':');
#ifdef _WIN32
+ assert(sizeof(unsigned long long) > 4);
if (1 != sscanf(header+14, ": %I64u", length))
#else
if (1 != sscanf(header+14, ": %llu", length))
if (1 != sscanf(header+14, ": %I64u", length))
#else
if (1 != sscanf(header+14, ": %llu", length))