projects
/
privoxy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
c5985a5
)
Fix compiler warning.
author
Fabian Keil
<fk@fabiankeil.de>
Sat, 7 Mar 2009 11:17:01 +0000
(11:17 +0000)
committer
Fabian Keil
<fk@fabiankeil.de>
Sat, 7 Mar 2009 11:17:01 +0000
(11:17 +0000)
jcc.c
patch
|
blob
|
history
diff --git
a/jcc.c
b/jcc.c
index
8b2cad6
..
ca283d3
100644
(file)
--- a/
jcc.c
+++ b/
jcc.c
@@
-1,4
+1,4
@@
-const char jcc_rcs[] = "$Id: jcc.c,v 1.22
7 2009/03/02 19:18:11
fabiankeil Exp $";
+const char jcc_rcs[] = "$Id: jcc.c,v 1.22
8 2009/03/06 20:30:13
fabiankeil Exp $";
/*********************************************************************
*
* File : $Source: /cvsroot/ijbswa/current/jcc.c,v $
/*********************************************************************
*
* File : $Source: /cvsroot/ijbswa/current/jcc.c,v $
@@
-33,6
+33,9
@@
const char jcc_rcs[] = "$Id: jcc.c,v 1.227 2009/03/02 19:18:11 fabiankeil Exp $"
*
* Revisions :
* $Log: jcc.c,v $
*
* Revisions :
* $Log: jcc.c,v $
+ * Revision 1.228 2009/03/06 20:30:13 fabiankeil
+ * Log unsigned values as such.
+ *
* Revision 1.227 2009/03/02 19:18:11 fabiankeil
* Streamline parse_http_request()'s prototype. As
* cparser pointed out it doesn't actually use csp.
* Revision 1.227 2009/03/02 19:18:11 fabiankeil
* Streamline parse_http_request()'s prototype. As
* cparser pointed out it doesn't actually use csp.
@@
-2160,7
+2163,7
@@
static jb_err change_request_destination(struct client_state *csp)
*********************************************************************/
static int server_response_is_complete(struct client_state *csp, size_t content_length)
{
*********************************************************************/
static int server_response_is_complete(struct client_state *csp, size_t content_length)
{
- int content_length_known = (csp->flags & CSP_FLAG_CONTENT_LENGTH_SET);
+ int content_length_known =
!!
(csp->flags & CSP_FLAG_CONTENT_LENGTH_SET);
if (!strcmpic(csp->http->gpc, "HEAD"))
{
if (!strcmpic(csp->http->gpc, "HEAD"))
{