mitmd

mitm TCP connections
Log | Files | Refs | README

commit 497709360e7fa0cf43f8bf6b97822e7ad4e0e2f6
parent 3493f11e1a9dd1da0ec008dac90dbac9d5c384f9
Author: hhvn <dev@hhvn.uk>
Date:   Mon, 23 Aug 2021 23:06:48 +0100

mitmd.c: define NL_TEXTMAX

Diffstat:
Mmitmd.c | 4++++
1 file changed, 4 insertions(+), 0 deletions(-)

diff --git a/mitmd.c b/mitmd.c @@ -15,6 +15,10 @@ #include <sys/wait.h> #include "arg.h" +#ifndef NL_TEXTMAX +#define NL_TEXTMAX 2048 +#endif /* NL_TEXTMAX */ + #define CQUEUE 255 #define CLIENT_STYLE "\033[96m>\033[0m" #define REMOTE_STYLE "\033[90m<\033[0m"