提交 6dfa124e authored 作者: Mike Jerris's avatar Mike Jerris

Merge pull request #1640 in FS/freeswitch from ~SAFAROV/freeswitch2:gcc8 to master

* commit '54c14293':
  FS-11345: Fixed Werror=format-truncation on lib/esl
...@@ -78,7 +78,7 @@ static int connected = 0; ...@@ -78,7 +78,7 @@ static int connected = 0;
static int allow_ctl_c = 0; static int allow_ctl_c = 0;
static char bare_prompt_str[514] = ""; static char bare_prompt_str[514] = "";
static int bare_prompt_str_len = 0; static int bare_prompt_str_len = 0;
static char prompt_str[512] = ""; static char prompt_str[1024] = "";
static char prompt_color[12] = {ESL_SEQ_DEFAULT_COLOR}; static char prompt_color[12] = {ESL_SEQ_DEFAULT_COLOR};
static char input_text_color[12] = {ESL_SEQ_DEFAULT_COLOR}; static char input_text_color[12] = {ESL_SEQ_DEFAULT_COLOR};
static char output_text_color[12] = {ESL_SEQ_DEFAULT_COLOR}; static char output_text_color[12] = {ESL_SEQ_DEFAULT_COLOR};
...@@ -1418,7 +1418,7 @@ int main(int argc, char *argv[]) ...@@ -1418,7 +1418,7 @@ int main(int argc, char *argv[])
esl_handle_t handle = {{0}}; esl_handle_t handle = {{0}};
int count = 0; int count = 0;
const char *line = NULL; const char *line = NULL;
char cmd_str[1024] = ""; char cmd_str[2048] = "";
cli_profile_t *profile = NULL; cli_profile_t *profile = NULL;
int argv_use_history_file = 1; int argv_use_history_file = 1;
int use_history_file = 0; int use_history_file = 0;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论