current gateway.c,1.101,1.102

Lee via ijbswa-commits <[email protected]> Sat, 01 Jul 2017 17:08:27 +0000
Newsgroups gmane.comp.web.privoxy.cvs
Message-ID <[email protected]>
Update of /cvsroot/ijbswa/current
In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv26185/current

Modified Files:
	gateway.c 
Log Message:
fix format specifier in log_error for unsigned long long variables



Index: gateway.c
===================================================================
RCS file: /cvsroot/ijbswa/current/gateway.c,v
retrieving revision 1.101
retrieving revision 1.102
diff -C2 -d -r1.101 -r1.102
*** gateway.c	4 Jun 2017 14:42:13 -0000	1.101
--- gateway.c	1 Jul 2017 17:08:25 -0000	1.102
***************
*** 1160,1164 ****
              (unsigned long long)(csp->client_iob->eod - csp->client_iob->cur);
           log_error(LOG_LEVEL_CONNECT,
!             "Optimistically sending %d bytes of client body. Expected %d",
              csp->expected_client_content_length, buffered_request_bytes);
           assert(csp->expected_client_content_length == buffered_request_bytes);
--- 1160,1164 ----
              (unsigned long long)(csp->client_iob->eod - csp->client_iob->cur);
           log_error(LOG_LEVEL_CONNECT,
!             "Optimistically sending %llu bytes of client body. Expected %llu",
              csp->expected_client_content_length, buffered_request_bytes);
           assert(csp->expected_client_content_length == buffered_request_bytes);
***************
*** 1166,1170 ****
           {
              log_error(LOG_LEVEL_CONNECT,
!                "optimistically writing %d bytes of client body to: %s failed: %E",
                 buffered_request_bytes, csp->http->hostport);
              return(JB_INVALID_SOCKET);
--- 1166,1170 ----
           {
              log_error(LOG_LEVEL_CONNECT,
!                "optimistically writing %llu bytes of client body to: %s failed: %E",
                 buffered_request_bytes, csp->http->hostport);
              return(JB_INVALID_SOCKET);


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot