diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-09-29 19:50:20 +0200 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-09-29 19:50:20 +0200 |
commit | 9a915b797a80c2a776027b1fcc37f1e7b8ab1b24 (patch) | |
tree | 99a0fdb289fa4ec03e8b5cc179d6c6d073f6a84a /libft/src/ft_strlchr.c | |
parent | Fix (diff) | |
download | 42-minishell-9a915b797a80c2a776027b1fcc37f1e7b8ab1b24.tar.gz 42-minishell-9a915b797a80c2a776027b1fcc37f1e7b8ab1b24.tar.bz2 42-minishell-9a915b797a80c2a776027b1fcc37f1e7b8ab1b24.tar.xz 42-minishell-9a915b797a80c2a776027b1fcc37f1e7b8ab1b24.tar.zst 42-minishell-9a915b797a80c2a776027b1fcc37f1e7b8ab1b24.zip |
Update
Diffstat (limited to '')
-rw-r--r-- | libft/src/ft_strlchr.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libft/src/ft_strlchr.c b/libft/src/ft_strlchr.c index 228aa89..cfbd9b5 100644 --- a/libft/src/ft_strlchr.c +++ b/libft/src/ft_strlchr.c @@ -13,8 +13,7 @@ #include <libft.h> #include <stddef.h> -long - ft_strlchr(const char *s, int c) +long ft_strlchr(const char *s, int c) { const size_t len = ft_strlen(s); const size_t rem = ft_strlen(ft_strchr(s, c)); |