summaryrefslogtreecommitdiffstats
path: root/src/u_utils.c
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-09-15 19:59:41 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2020-09-15 19:59:41 +0200
commitca2e36781039eb7e9901ccde395600e7af87ff4f (patch)
tree8a9d85433e943fbbd079bc55700e048a54d9bf24 /src/u_utils.c
parenttype builtin fix (diff)
download42-minishell-ca2e36781039eb7e9901ccde395600e7af87ff4f.tar.gz
42-minishell-ca2e36781039eb7e9901ccde395600e7af87ff4f.tar.bz2
42-minishell-ca2e36781039eb7e9901ccde395600e7af87ff4f.tar.xz
42-minishell-ca2e36781039eb7e9901ccde395600e7af87ff4f.tar.zst
42-minishell-ca2e36781039eb7e9901ccde395600e7af87ff4f.zip
Huge fixes and stack stuff
Diffstat (limited to 'src/u_utils.c')
-rw-r--r--src/u_utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/u_utils.c b/src/u_utils.c
index dd1634b..4e332b3 100644
--- a/src/u_utils.c
+++ b/src/u_utils.c
@@ -70,7 +70,7 @@ uint64_t
uint64_t argc;
argc = 0;
- while (args[argc])
+ while (args[argc] != NULL)
{
argc++;
}