summaryrefslogtreecommitdiffstats
path: root/Utilities
diff options
context:
space:
mode:
Diffstat (limited to 'Utilities')
-rw-r--r--Utilities/cmtar/compat/snprintf.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/Utilities/cmtar/compat/snprintf.c b/Utilities/cmtar/compat/snprintf.c
index fbdf7c5..94e420a 100644
--- a/Utilities/cmtar/compat/snprintf.c
+++ b/Utilities/cmtar/compat/snprintf.c
@@ -707,7 +707,11 @@ int mutt_snprintf (va_alist) va_dcl
VA_SHIFT (str, char *);
VA_SHIFT (count, size_t );
VA_SHIFT (fmt, char *);
+#ifdef HAVE_VSNPRINTF
(void) vsnprintf(str, count, fmt, ap);
+#else
+ (void) mutt_vsnprintf(str, count, fmt, ap);
+#endif
VA_END;
return(strlen(str));
}