KAN RP SEX CHATGPT SUR
This commit is contained in:
@ -6,7 +6,7 @@
|
||||
/* By: cchauvet <cchauvet@student.42angoulem +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2023/02/14 14:27:08 by cchauvet #+# #+# */
|
||||
/* Updated: 2023/03/31 20:42:17 by erey-bet ### ########.fr */
|
||||
/* Updated: 2023/04/04 13:38:27 by erey-bet ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
@ -59,7 +59,8 @@ int set_key_value_export(t_list **env, char *args, char **key, char **value)
|
||||
if (get_value_by_key(*key, env) == NULL)
|
||||
*value = ft_strdup(ft_strchr(args, '=') + 1);
|
||||
else
|
||||
*value = ft_strjoin(get_value_by_key(*key, env), ft_strchr(args, '=') + 1);
|
||||
*value = ft_strjoin(get_value_by_key(*key, env),
|
||||
ft_strchr(args, '=') + 1);
|
||||
}
|
||||
else
|
||||
*value = ft_strdup(ft_strchr(args, '=') + 1);
|
||||
|
Reference in New Issue
Block a user