hidden norm cleanup

This commit is contained in:
Tanguy MAZE
2019-03-16 17:50:27 +01:00
parent d49f964045
commit acf5431d14
12 changed files with 104 additions and 106 deletions

View File

@@ -6,7 +6,7 @@
/* By: tmaze <tmaze@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2018/04/07 16:30:47 by tmaze #+# #+# */
/* Updated: 2019/03/07 19:05:27 by tmaze ### ########.fr */
/* Updated: 2019/03/16 15:39:59 by tmaze ### ########.fr */
/* */
/* ************************************************************************** */
@@ -17,8 +17,8 @@ char *ft_strjoin(char const *s1, char const *s2)
char *ret;
ret = NULL;
if (s1 != NULL && s2 != NULL &&\
(ret = ft_strnew(ft_strlen(s1) + ft_strlen(s2))) != NULL)
if (s1 != NULL && s2 != NULL
&& (ret = ft_strnew(ft_strlen(s1) + ft_strlen(s2))) != NULL)
{
ft_strcpy(ret, s1);
ft_strcat(ret, s2);