Merge branch 'dev' of github.com:tvdu29/minishell into dev

This commit is contained in:
Tanguy Maze
2019-10-18 14:22:39 +02:00
7 changed files with 29 additions and 31 deletions

View File

@@ -6,7 +6,7 @@
/* By: tmaze <tmaze@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2019/09/20 11:43:53 by tmaze #+# #+# */
/* Updated: 2019/10/18 14:17:12 by tmaze ### ########.fr */
/* Updated: 2019/10/18 14:20:41 by tmaze ### ########.fr */
/* */
/* ************************************************************************** */
@@ -103,7 +103,7 @@ char **lsttotab(t_env *env)
while (it)
{
size = ft_strlen(it->key) + ft_strlen(it->val) + 1;
if ((new = ft_strnew(size)) == NULL)
if ((new = ft_strnew(size)) == NULL)
{
ft_del_words_tables(&ret);
break ;