commit
This commit is contained in:
@@ -53,7 +53,7 @@ struct s_stock_str *ft_strs_to_tab(int ac, char **av)
|
||||
while (i < ac)
|
||||
{
|
||||
result[i].size = ft_strlen(av[i]);
|
||||
result[i].str = av[i];
|
||||
result[i].str = ft_strdup(av[i]);
|
||||
result[i].copy = ft_strdup(av[i]);
|
||||
i++;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user