current cgi.c,1.171,1.172
Fabian Keil <[email protected]> Wed, 08 Mar 2017 13:10:36 +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-serv12061
Modified Files:
cgi.c
Log Message:
Simplify template_fill_for_cgi()
Index: cgi.c
===================================================================
RCS file: /cvsroot/ijbswa/current/cgi.c,v
retrieving revision 1.171
retrieving revision 1.172
diff -C2 -d -r1.171 -r1.172
*** cgi.c 20 Feb 2017 13:44:32 -0000 1.171
--- cgi.c 8 Mar 2017 13:10:33 -0000 1.172
***************
*** 2127,2139 ****
if (err == JB_ERR_FILE)
{
! free_map(exports);
! return cgi_error_no_template(csp, rsp, templatename);
}
! else if (err)
{
! free_map(exports);
! return err; /* JB_ERR_MEMORY */
}
- err = template_fill(&rsp->body, exports);
free_map(exports);
return err;
--- 2127,2136 ----
if (err == JB_ERR_FILE)
{
! err = cgi_error_no_template(csp, rsp, templatename);
}
! else if (err == JB_ERR_OK)
{
! err = template_fill(&rsp->body, exports);
}
free_map(exports);
return err;
------------------------------------------------------------------------------
Announcing the Oxford Dictionaries API! The API offers world-renowned
dictionary content that is easy and intuitive to access. Sign up for an
account today to start using our lexical data to power your apps and
projects. Get started today and enter our developer competition.
http://sdm.link/oxford