current jcc.c,1.454,1.455

Fabian Keil <[email protected]> Thu, 25 May 2017 11:16:06 +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-serv1935

Modified Files:
	jcc.c 
Log Message:
Reduce chat()'s stack usage

... by removing a buffer that was left from a previous
refactoring.

Sponsored by: Robert Klemme


Index: jcc.c
===================================================================
RCS file: /cvsroot/ijbswa/current/jcc.c,v
retrieving revision 1.454
retrieving revision 1.455
diff -C2 -d -r1.454 -r1.455
*** jcc.c	25 May 2017 11:14:38 -0000	1.454
--- jcc.c	25 May 2017 11:16:04 -0000	1.455
***************
*** 2701,2705 ****
  static void chat(struct client_state *csp)
  {
-    char buf[BUFFER_SIZE];
     const struct forward_spec *fwd;
     struct http_request *http;
--- 2701,2704 ----
***************
*** 2707,2712 ****
     struct http_response *rsp;
  
-    memset(buf, 0, sizeof(buf));
- 
     http = csp->http;
  
--- 2706,2709 ----


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