ft_lstaddend

This commit is contained in:
Tanguy MAZE
2018-04-19 14:41:21 +02:00
parent baf67e49a6
commit 5703ae8db7
9 changed files with 66 additions and 10 deletions

View File

@@ -22,7 +22,7 @@ void ft_sort_params(int ac, char **av)
while (++i < ac && (j = i))
{
tmp = av[i];
while (j > 1 && strcmp(av[j - 1], tmp) > 0)
while (j > 1 && ft_strcmp(av[j - 1], tmp) > 0)
{
av[j] = av[j - 1];
j--;