diff --git a/.ft_strcmpi.c.swp b/.ft_strcmpi.c.swp new file mode 100644 index 0000000..049cb0e Binary files /dev/null and b/.ft_strcmpi.c.swp differ diff --git a/.ft_strlower.c.swp b/.ft_strlower.c.swp new file mode 100644 index 0000000..bd114bf Binary files /dev/null and b/.ft_strlower.c.swp differ diff --git a/.ft_tolower.c.swp b/.ft_tolower.c.swp new file mode 100644 index 0000000..7cec4f3 Binary files /dev/null and b/.ft_tolower.c.swp differ diff --git a/ft_strcmpi.c b/ft_strcmpi.c index 0f336c2..3c8a341 100644 --- a/ft_strcmpi.c +++ b/ft_strcmpi.c @@ -6,7 +6,7 @@ /* By: thifranc +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2016/02/14 11:35:35 by thifranc #+# #+# */ -/* Updated: 2017/10/30 17:21:11 by thifranc ### ########.fr */ +/* Updated: 2017/12/02 12:51:19 by thifranc ### ########.fr */ /* */ /* ************************************************************************** */ @@ -17,7 +17,7 @@ int ft_strcmpi(const char *s1, const char *s2) unsigned int i; i = 0; - while (s1[i] && ft_tolower(s1[i]) == ft_tolower(s2[i]) ) + while (s1[i] && ft_tolower(s1[i]) == ft_tolower(s2[i])) i++; return ((unsigned char)s1[i] - (unsigned char)s2[i]); } diff --git a/ft_strlower.c b/ft_strlower.c index 972caa3..3c9c2ae 100644 --- a/ft_strlower.c +++ b/ft_strlower.c @@ -6,13 +6,13 @@ /* By: thifranc +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2017/10/30 17:23:15 by thifranc #+# #+# */ -/* Updated: 2017/10/30 17:38:43 by thifranc ### ########.fr */ +/* Updated: 2017/12/02 12:51:41 by thifranc ### ########.fr */ /* */ /* ************************************************************************** */ #include "libft.h" -char *ft_strlower(char *s) +char *ft_strlower(char *s) { int i;