Commit 9b97f433 authored by Andy Cedilnik's avatar Andy Cedilnik
Browse files

COMP: Fix systems that do not have both vsnprintf and snprintf.

parent c09548b5
......@@ -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));
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment