Compare commits

..
5 Commits
Author SHA1 Message Date
cvs2svn ee992e77b7 This commit was manufactured by cvs2svn to create tag
'release_1_6_0'.
2003-07-14 17:45:13 +00:00
cvs2svn 4beea1ac67 This commit was manufactured by cvs2svn to create branch
'release_1_6_patches'.
2003-07-14 17:45:12 +00:00
Robert James Kaes 7115a37f23 # Updated ChangeLog 2003-07-14 17:45:11 +00:00
Robert James Kaes a748265b50 # Bumped up version number. 2003-07-14 17:43:26 +00:00
Robert James Kaes 7c96935552 (indicate_http_error): Added calls to va_end() before leaving the
function.
2003-07-14 17:42:43 +00:00
3 changed files with 15 additions and 4 deletions

No files matched your search

+7
View File
@@ -1,3 +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):
+2 -2
View File
@@ -1,4 +1,4 @@
dnl $Id: configure.ac,v 2.59 2003-06-26 18:31:16 rjkaes Exp $ dnl $Id: configure.ac,v 2.60 2003-07-14 17:43:26 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.0rc3], [rjkaes@users.sourceforge.net]) AC_INIT([tinyproxy], [1.6.0], [rjkaes@users.sourceforge.net])
AC_CONFIG_SRCDIR([src/tinyproxy.c]) AC_CONFIG_SRCDIR([src/tinyproxy.c])
AC_PREREQ(2.52) AC_PREREQ(2.52)
+6 -2
View File
@@ -1,4 +1,4 @@
/* $Id: htmlerror.c,v 1.5 2003-05-31 23:02:21 rjkaes Exp $ /* $Id: htmlerror.c,v 1.6 2003-07-14 17:42:43 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,12 +260,16 @@ 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));
} }