diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/zlib/src/gzio.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/lib/zlib/src/gzio.c b/lib/zlib/src/gzio.c index 3f534f6..f3c0da2 100644 --- a/lib/zlib/src/gzio.c +++ b/lib/zlib/src/gzio.c @@ -5,7 +5,7 @@ * Compile this file with -DNO_DEFLATE to avoid the compression code. */ -/* @(#) $Id: gzio.c,v 1.5 2004-11-27 21:46:13 pixel Exp $ */ +/* @(#) $Id: gzio.c,v 1.6 2004-12-27 18:48:25 pixel Exp $ */ #include <stdio.h> @@ -529,11 +529,7 @@ int ZEXPORTVA gzprintf (gzFile file, const char *format, /* args */ ...) int len; va_start(va, format); -#ifdef HAS_vsnprintf (void)vsnprintf(buf, sizeof(buf), format, va); -#else - (void)vsprintf(buf, format, va); -#endif va_end(va); len = strlen(buf); /* some *sprintf don't return the nb of bytes written */ if (len <= 0) return 0; |