summaryrefslogtreecommitdiffstats
path: root/libft/src
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-09-12 19:16:21 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2020-09-12 19:16:21 +0200
commitb41111c07a40ee405fb8e8b6c178a315272db7ae (patch)
treeb743a4c153b17369ae27c7554f61b3f11e15df6f /libft/src
parentFix (diff)
download42-minishell-b41111c07a40ee405fb8e8b6c178a315272db7ae.tar.gz
42-minishell-b41111c07a40ee405fb8e8b6c178a315272db7ae.tar.bz2
42-minishell-b41111c07a40ee405fb8e8b6c178a315272db7ae.tar.xz
42-minishell-b41111c07a40ee405fb8e8b6c178a315272db7ae.tar.zst
42-minishell-b41111c07a40ee405fb8e8b6c178a315272db7ae.zip
Sorted alias
Diffstat (limited to '')
-rw-r--r--libft/src/ft_strlcpy.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libft/src/ft_strlcpy.c b/libft/src/ft_strlcpy.c
index ed4d924..5076a69 100644
--- a/libft/src/ft_strlcpy.c
+++ b/libft/src/ft_strlcpy.c
@@ -16,9 +16,9 @@
size_t
ft_strlcpy(char *dst, const char *src, size_t size)
{
- size_t src_len;
+ size_t src_len;
- if (!dst || !src)
+ if (dst == NULL || src == NULL)
return (0);
src_len = ft_strlen(src);
if (src_len + 1 < size)