aboutsummaryrefslogtreecommitdiff
path: root/lib/libft
diff options
context:
space:
mode:
authorChristopher Uhlig2024-08-09 15:28:03 +0200
committerChristopher Uhlig2024-08-09 15:28:03 +0200
commit88030338953372eb0d223cf27fd5c96063ac7ee2 (patch)
treee3aa0d02b9526f476e3456ddec9baa9768896904 /lib/libft
parent665e9eb6fe20730b2f98cbc0f6617985204accc7 (diff)
downloadminishell-88030338953372eb0d223cf27fd5c96063ac7ee2.tar.gz
minishell-88030338953372eb0d223cf27fd5c96063ac7ee2.zip
fixed norm errors that i saw
Diffstat (limited to 'lib/libft')
-rw-r--r--lib/libft/ft_strncpy.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/libft/ft_strncpy.c b/lib/libft/ft_strncpy.c
index 9d772cb..a1a2293 100644
--- a/lib/libft/ft_strncpy.c
+++ b/lib/libft/ft_strncpy.c
@@ -6,7 +6,7 @@
/* By: chuhlig <chuhlig@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/08/05 13:41:47 by chuhlig #+# #+# */
-/* Updated: 2024/08/05 14:22:26 by chuhlig ### ########.fr */
+/* Updated: 2024/08/09 15:26:40 by chuhlig ### ########.fr */
/* */
/* ************************************************************************** */
@@ -17,6 +17,5 @@ char *ft_strncpy(char *s1, char *s2, int n)
i = -1;
while (++i < n && s2[i])
s1[i] = s2[i];
- // s1[i] = '\0';
return (s1);
}