.......................prout
This commit is contained in:
parent
1fdc51a668
commit
89c80e9bdb
@ -6,7 +6,7 @@
|
||||
/* By: erey-bet <marvin@42.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2023/02/17 13:09:08 by erey-bet #+# #+# */
|
||||
/* Updated: 2023/02/21 22:09:55 by erey-bet ### ########.fr */
|
||||
/* Updated: 2023/02/21 22:24:51 by erey-bet ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
@ -64,6 +64,7 @@ char *conca(char **strs)
|
||||
while (strs[++i] != NULL)
|
||||
{
|
||||
ft_strlcat(str, strs[i], ft_strlen(str) + ft_strlen(strs[i]) + 2);
|
||||
if (strs[i + 1] != NULL)
|
||||
str[ft_strlen(str)] = ' ';
|
||||
}
|
||||
str[ft_strlen(str)] = '\0';
|
||||
|
Loading…
Reference in New Issue
Block a user