summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-12-12 16:55:13 +0100
committerJozanLeClerc <bousset.rudy@gmail.com>2020-12-12 16:55:13 +0100
commit30eb0c4d4e161672d9042c2e4fd91fab295c7003 (patch)
treeede87644b05ba2555782d6872196851a76f008fd
parentOne more secured (diff)
download42-minishell-30eb0c4d4e161672d9042c2e4fd91fab295c7003.tar.gz
42-minishell-30eb0c4d4e161672d9042c2e4fd91fab295c7003.tar.bz2
42-minishell-30eb0c4d4e161672d9042c2e4fd91fab295c7003.tar.xz
42-minishell-30eb0c4d4e161672d9042c2e4fd91fab295c7003.tar.zst
42-minishell-30eb0c4d4e161672d9042c2e4fd91fab295c7003.zip
Comment update
-rw-r--r--src/u_vars_next.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/u_vars_next.c b/src/u_vars_next.c
index 28cdd45..11027cb 100644
--- a/src/u_vars_next.c
+++ b/src/u_vars_next.c
@@ -77,7 +77,8 @@ static t_bool u_get_custom_var_existance(const char varname[], t_msh *msh)
**
** RETURN VALUES
** The u_subst_var_value() function returns 0 upon success
-** and 1 in case of malloc(3) failure.
+** and 1 in case of malloc(3) failure. When returning 1, the
+** entire environment is destroyed.
*/
char u_subst_var_value(const char varname[],