summaryrefslogtreecommitdiffstats
path: root/src/main.c
diff options
context:
space:
mode:
authorRudy Bousset <rbousset@z2r5p6.le-101.fr>2019-10-30 18:16:42 +0100
committerRudy Bousset <rbousset@z2r5p6.le-101.fr>2019-10-30 18:16:42 +0100
commit2dff0d522812e7e1e32f87e6edf21100e268e0ed (patch)
treeeb54cb1056ebbb194f46e1fbeb2715ebc985406e /src/main.c
parentin progress (diff)
download42-minishell-2dff0d522812e7e1e32f87e6edf21100e268e0ed.tar.gz
42-minishell-2dff0d522812e7e1e32f87e6edf21100e268e0ed.tar.bz2
42-minishell-2dff0d522812e7e1e32f87e6edf21100e268e0ed.tar.xz
42-minishell-2dff0d522812e7e1e32f87e6edf21100e268e0ed.tar.zst
42-minishell-2dff0d522812e7e1e32f87e6edf21100e268e0ed.zip
work work
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/main.c b/src/main.c
index cfd3587..bcdb4c2 100644
--- a/src/main.c
+++ b/src/main.c
@@ -43,11 +43,6 @@ int
{
if (c == '\n')
break ;
- if (i > 128)
- {
- write(1, "Command too long!\n", 18);
- return (2);
- }
arg[i] = c;
i++;
}