From b41111c07a40ee405fb8e8b6c178a315272db7ae Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Sat, 12 Sep 2020 19:16:21 +0200 Subject: Sorted alias --- libft/src/ft_strlcpy.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libft') 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) -- cgit v1.2.3