view auto/lib/zlib/patch.zlib.h @ 4814:0656cfe8f7cb

Map: fixed optimization of variables as values. Previous code incorrectly used ctx->var_values as an array of pointers to ngx_http_variable_value_t, but the array contains structures, not pointers. Additionally, ctx->var_values inspection failed to properly set var on match.
author Maxim Dounin <mdounin@mdounin.ru>
date Thu, 16 Aug 2012 10:58:18 +0000
parents b1648294f693
children
line wrap: on
line source

--- zlib.h	Thu Jul  9 20:06:56 1998
+++ zlib-1.1.3/zlib.h	Tue Mar 22 13:41:04 2005
@@ -709,7 +709,6 @@
    (0 in case of error).
 */
 
-ZEXTERN int ZEXPORTVA   gzprintf OF((gzFile file, const char *format, ...));
 /*
      Converts, formats, and writes the args to the compressed file under
    control of the format string, as in fprintf. gzprintf returns the number of