From 61be7c7c30bb8c7f636ccdcbafc78c634194a022 Mon Sep 17 00:00:00 2001 From: iceman1001 Date: Wed, 10 Jun 2020 13:31:57 +0200 Subject: [PATCH] chg: cliparse should have atleast same file_max_path_len --- client/deps/cliparser/cliparser.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/deps/cliparser/cliparser.h b/client/deps/cliparser/cliparser.h index f51d338df..86ed21977 100644 --- a/client/deps/cliparser/cliparser.h +++ b/client/deps/cliparser/cliparser.h @@ -40,7 +40,7 @@ typedef struct { const char *programName; const char *programHint; const char *programHelp; - char buf[500]; + char buf[1024 + 60]; } CLIParserContext; int CLIParserInit(CLIParserContext **ctx, const char *vprogramName, const char *vprogramHint, const char *vprogramHelp); int CLIParserParseString(CLIParserContext *ctx, const char *str, void *vargtable[], size_t vargtableLen, bool allowEmptyExec);