summaryrefslogtreecommitdiffstats
path: root/libft/src/ft_strlcat.c
diff options
context:
space:
mode:
Diffstat (limited to 'libft/src/ft_strlcat.c')
-rw-r--r--libft/src/ft_strlcat.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/libft/src/ft_strlcat.c b/libft/src/ft_strlcat.c
index b9feae1..c0c9e29 100644
--- a/libft/src/ft_strlcat.c
+++ b/libft/src/ft_strlcat.c
@@ -13,10 +13,9 @@
#include <libft.h>
#include <stddef.h>
-size_t
- ft_strlcat(char *dst, const char *src, size_t size)
+size_t ft_strlcat(char *dst, const char *src, size_t size)
{
- size_t dst_len;
+ size_t dst_len;
dst_len = ft_strnlen(dst, size);
if (dst_len == size)