Compare commits

..
1 Commits
Author SHA1 Message Date
cvs2svn acd5eca58e This commit was manufactured by cvs2svn to create tag
'release_1_6_0rc3'.
2003-06-26 18:33:14 +00:00
3 changed files with 5 additions and 16 deletions

No files matched your search

+1 -8
View File
@@ -1,17 +1,10 @@
2003-07-14 Robert James Kaes <rjkaes@flarenet.com>
Released tinyproxy 1.6.0 (2003-07-14)
* src/htmlerror.c (indicate_http_error):
Added calls to va_end() before leaving the function.
2003-06-26 Robert James Kaes <rjkaes@flarenet.com> 2003-06-26 Robert James Kaes <rjkaes@flarenet.com>
* src/reqs.c (upstream_add): * src/reqs.c (upstream_add):
Rewrote the function to actually handle the various types of Rewrote the function to actually handle the various types of
upstream configurations correctly. Hopefully, the code is also a upstream configurations correctly. Hopefully, the code is also a
little clearer in it's implementation. little clearer in it's implementation.
* src/scanner.l: * src/scanner.l:
Modified the patterns to allow the new upstream directives to work Modified the patterns to allow the new upstream directives to work
as defined in the tinyproxy.conf documentation. as defined in the tinyproxy.conf documentation.
+2 -2
View File
@@ -1,4 +1,4 @@
dnl $Id: configure.ac,v 2.60 2003-07-14 17:43:26 rjkaes Exp $ dnl $Id: configure.ac,v 2.59 2003-06-26 18:31:16 rjkaes Exp $
dnl Devlopers, please strive to achieve this order: dnl Devlopers, please strive to achieve this order:
dnl dnl
@@ -14,7 +14,7 @@ dnl 8. System services
dnl dnl
dnl Read the Autoconf manual for details. dnl Read the Autoconf manual for details.
AC_INIT([tinyproxy], [1.6.0], [rjkaes@users.sourceforge.net]) AC_INIT([tinyproxy], [1.6.0rc3], [rjkaes@users.sourceforge.net])
AC_CONFIG_SRCDIR([src/tinyproxy.c]) AC_CONFIG_SRCDIR([src/tinyproxy.c])
AC_PREREQ(2.52) AC_PREREQ(2.52)
+2 -6
View File
@@ -1,4 +1,4 @@
/* $Id: htmlerror.c,v 1.6 2003-07-14 17:42:43 rjkaes Exp $ /* $Id: htmlerror.c,v 1.5 2003-05-31 23:02:21 rjkaes Exp $
* *
* This file contains source code for the handling and display of * This file contains source code for the handling and display of
* HTML error pages with variable substitution. * HTML error pages with variable substitution.
@@ -260,16 +260,12 @@ indicate_http_error(struct conn_s* connptr, int number, char *message, ...)
while((key = va_arg(ap, char *))) { while((key = va_arg(ap, char *))) {
val = va_arg(ap, char *); val = va_arg(ap, char *);
if(add_error_variable(connptr, key, val) == -1) { if(add_error_variable(connptr, key, val) == -1)
va_end(ap);
return(-1); return(-1);
}
} }
connptr->error_number = number; connptr->error_number = number;
connptr->error_string = safestrdup(message); connptr->error_string = safestrdup(message);
va_end(ap);
return(add_standard_vars(connptr)); return(add_standard_vars(connptr));
} }