- MFH %v for s[np]printf

This commit is contained in:
Marcus Boerger 2006-05-07 12:40:17 +00:00
parent 18eb480dd2
commit c018b83003
2 changed files with 2 additions and 0 deletions

View file

@ -897,6 +897,7 @@ static int format_converter(register buffy * odp, const char *fmt,
case 's':
case 'v':
s = va_arg(ap, char *);
if (s != NULL) {
s_len = strlen(s);

View file

@ -513,6 +513,7 @@ static void xbuf_format_converter(smart_str *xbuf, const char *fmt, va_list ap)
case 's':
case 'v':
s = va_arg(ap, char *);
if (s != NULL) {
s_len = strlen(s);