view auto/lib/zlib/patch.zlib.h @ 5352:ec0be12c8e29

Referer: fixed hostname buffer overflow check. Because of premature check the effective buffer size was 255 symbols while the buffer is able to handle 256.
author Valentin Bartenev <vbart@nginx.com>
date Thu, 29 Aug 2013 22:35:54 +0400
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