Skip to content

Commit

Permalink
Update ft_strjoin.c
Browse files Browse the repository at this point in the history
  • Loading branch information
augustobecker authored Jul 1, 2022
1 parent 5090a59 commit 6d95a37
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion ft_strjoin.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,5 @@ char *ft_strjoin(const char *s1, const char *s2)
return (NULL);
ft_strlcpy(str, s1, ft_strlen(s1) + 1);
ft_strlcat(str, s2, ft_strlen(s1) + ft_strlen(s2) + 1);
free((char *)s1);
return (str);
}

0 comments on commit 6d95a37

Please sign in to comment.