diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-10-21 23:24:14 +0200 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-10-21 23:24:14 +0200 |
commit | 7c645ea2acd3adad071692e72e455f589a8a9d91 (patch) | |
tree | bf2bf168d840ab8d012ba377550645ed60d934a1 /src/e_line.c | |
parent | TODO update (diff) | |
download | 42-minishell-7c645ea2acd3adad071692e72e455f589a8a9d91.tar.gz 42-minishell-7c645ea2acd3adad071692e72e455f589a8a9d91.tar.bz2 42-minishell-7c645ea2acd3adad071692e72e455f589a8a9d91.tar.xz 42-minishell-7c645ea2acd3adad071692e72e455f589a8a9d91.tar.zst 42-minishell-7c645ea2acd3adad071692e72e455f589a8a9d91.zip |
In progress
Diffstat (limited to 'src/e_line.c')
-rw-r--r-- | src/e_line.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/e_line.c b/src/e_line.c index de1eae2..c0edb60 100644 --- a/src/e_line.c +++ b/src/e_line.c @@ -22,8 +22,7 @@ #include "s_struct.h" #include "u_utils.h" -void - e_line(t_msh *msh) +void e_line(t_msh *msh) { uint8_t bu_id; @@ -31,9 +30,8 @@ void e_pipes(msh); else if (msh->com != NULL) { - if (msh->com->bin != NULL && - (bu_id = u_get_builtin_id(msh->com->bin)) - < B_BUILTINS_COUNT) + if (msh->com->bin != NULL + && (bu_id = u_get_builtin_id(msh->com->bin)) < B_BUILTINS_COUNT) e_builtin(msh->com, bu_id, msh); else if (msh->com->bin != NULL) e_extern(msh->com, msh); |