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/08 14:32:30 by tmaze #+# #+# */
/* Updated: 2018/04/08 15:15:34 by tmaze ### ########.fr */
/* Updated: 2019/03/16 15:45:42 by tmaze ### ########.fr */
/* */
/* ************************************************************************** */
@@ -22,6 +22,6 @@ size_t ft_strlcat(char *dest, const char *src, size_t size)
ft_strncpy(&dest[dest_len], src, size - dest_len);
dest[size - 1] = '\0';
}
return (((size_t)dest_len < size) ? (size_t)(dest_len + ft_strlen(src)) :\
size + (size_t)ft_strlen(src));
return (((size_t)dest_len < size) ? (size_t)(dest_len + ft_strlen(src))
: size + (size_t)ft_strlen(src));
}