mirror of
https://github.com/KeyZox71/ft_minipowershell.git
synced 2025-05-10 22:58:45 +02:00
「🔨」 fix(env_cmd): fixed strcmp and env cmds
This commit is contained in:
@ -6,7 +6,7 @@
|
||||
/* By: mmoussou <mmoussou@student.42angoulem +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2023/11/01 22:03:09 by mmoussou #+# #+# */
|
||||
/* Updated: 2024/01/11 18:03:15 by mmoussou ### ########.fr */
|
||||
/* Updated: 2024/06/10 16:37:38 by mmoussou ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
@ -23,5 +23,5 @@ int ft_strcmp(const char *s1, const char *s2)
|
||||
return (((unsigned char *)s1)[i] - ((unsigned char *)s2)[i]);
|
||||
i++;
|
||||
}
|
||||
return (0);
|
||||
return (((unsigned char *)s1)[i] - ((unsigned char *)s2)[i]);
|
||||
}
|
||||
|
Reference in New Issue
Block a user