calloc fix
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
/* By: dgaillet <dgaillet@student.42.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2025/11/08 17:36:38 by dgaillet #+# #+# */
|
||||
/* Updated: 2025/11/12 13:32:30 by dgaillet ### ########lyon.fr */
|
||||
/* Updated: 2025/11/12 17:21:21 by dgaillet ### ########lyon.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
@@ -14,7 +14,7 @@ void ft_striteri(char *s, void (*f)(unsigned int, char*))
|
||||
{
|
||||
unsigned int i;
|
||||
|
||||
if (!s)
|
||||
if (!f)
|
||||
return ;
|
||||
i = 0;
|
||||
while (s[i])
|
||||
|
||||
Reference in New Issue
Block a user