summaryrefslogtreecommitdiffstats
path: root/src/s_com.c
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-09-11 15:27:54 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2020-09-11 15:27:54 +0200
commita1120710a40fd1ac8fae1d68da9c3fe3fb407da2 (patch)
treeab9bf34a6e0ddd6cbd95d04fcfc93db2259089d6 /src/s_com.c
parentHuge fix (diff)
download42-minishell-a1120710a40fd1ac8fae1d68da9c3fe3fb407da2.tar.gz
42-minishell-a1120710a40fd1ac8fae1d68da9c3fe3fb407da2.tar.bz2
42-minishell-a1120710a40fd1ac8fae1d68da9c3fe3fb407da2.tar.xz
42-minishell-a1120710a40fd1ac8fae1d68da9c3fe3fb407da2.tar.zst
42-minishell-a1120710a40fd1ac8fae1d68da9c3fe3fb407da2.zip
TODO update
Diffstat (limited to '')
-rw-r--r--src/s_com.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/s_com.c b/src/s_com.c
index ee55c58..6d6ee09 100644
--- a/src/s_com.c
+++ b/src/s_com.c
@@ -20,7 +20,7 @@
#include "s_struct.h"
static int8_t
- fill_com(char *words[], t_com **com)
+ s_fill_com(char *words[], t_com **com)
{
/* TODO: norme */
uint64_t i;
@@ -121,7 +121,7 @@ t_com
words = p_check_args_equals(words, msh);
if (msh->env_fork_tmp[0][0] != '\0')
s_com_cpy_env_fork(&com, msh);
- if (fill_com(words, &com) < 0)
+ if (s_fill_com(words, &com) < 0)
{
ft_delwords(words);
return (NULL);