summaryrefslogtreecommitdiffstats
path: root/src/s_struct.h
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-09-09 16:45:07 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2020-09-09 16:45:07 +0200
commitddf4006f9db4920c47efdd8488203408cf8d5e58 (patch)
treefac9b016fa7e67b1a0e38e7e609f0550da51005d /src/s_struct.h
parentIn progress (diff)
download42-minishell-ddf4006f9db4920c47efdd8488203408cf8d5e58.tar.gz
42-minishell-ddf4006f9db4920c47efdd8488203408cf8d5e58.tar.bz2
42-minishell-ddf4006f9db4920c47efdd8488203408cf8d5e58.tar.xz
42-minishell-ddf4006f9db4920c47efdd8488203408cf8d5e58.tar.zst
42-minishell-ddf4006f9db4920c47efdd8488203408cf8d5e58.zip
qwe
Diffstat (limited to '')
-rw-r--r--src/s_struct.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/s_struct.h b/src/s_struct.h
index f7ea271..2734618 100644
--- a/src/s_struct.h
+++ b/src/s_struct.h
@@ -14,6 +14,7 @@
#define S_STRUCT_H
#include <stdint.h>
+#include <limits.h>
#include "d_define.h"
@@ -59,7 +60,7 @@ struct s_lpipes
typedef struct s_line_block
{
- char lblock[4096];
+ char lblock[ARG_MAX];
uint8_t nextif;
struct s_line_block *next;
} t_line_block;