deux putstr dans ftprintf et ftconvert pour tenter de comprendre l'erreur du freed
This commit is contained in:
@@ -81,7 +81,10 @@ char *ft_convert(va_list ap, char *type, char **s)
|
||||
if ((tmp = ft_strchrset(type, "dic")) && ft_strchr(type, 'l'))
|
||||
return (conv_i(tmp[0], va_arg(ap, long int)));
|
||||
if ((tmp = ft_strchrset(type, "dic")))
|
||||
{
|
||||
// ft_putstr("OK");
|
||||
return (conv_i(tmp[0], va_arg(ap, int)));
|
||||
}
|
||||
if ((tmp = ft_strchrset(type, "uxXps")) && ft_strchrset(type, "lps"))
|
||||
return (conv_u(tmp[0], va_arg(ap, unsigned long int)));
|
||||
if ((tmp = ft_strchrset(type, "uxX")))
|
||||
|
||||
Reference in New Issue
Block a user