summaryrefslogtreecommitdiff
path: root/src/snprintf.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/snprintf.c')
-rw-r--r--src/snprintf.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/snprintf.c b/src/snprintf.c
index d2025ee..0b898cd 100644
--- a/src/snprintf.c
+++ b/src/snprintf.c
@@ -112,8 +112,6 @@
# undef HAVE_SNPRINTF
# undef HAVE_VSNPRINTF
# undef HAVE_C99_VSNPRINTF
-# undef HAVE_ASPRINTF
-# undef HAVE_VASPRINTF
# include <math.h>
#endif /* TEST_SNPRINTF */
@@ -225,7 +223,7 @@ static size_t dopr(char *buffer, size_t maxlen, const char *format, va_list args
size_t currlen;
va_list args;
- VA_COPY(args, args_in);
+ *args = *args_in;
state = DP_S_DEFAULT;
currlen = flags = cflags = min = 0;