diff --git a/include/neuron/define.h b/include/neuron/define.h index 24e4befc..d39c90b1 100644 --- a/include/neuron/define.h +++ b/include/neuron/define.h @@ -45,7 +45,7 @@ extern int default_log_level; extern bool disable_jwt; -extern char host_port[24]; +extern char host_port[32]; typedef enum neu_plugin_kind { NEU_PLUGIN_KIND_STATIC = 0, diff --git a/src/main.c b/src/main.c index 57ec60e4..57fc6fda 100644 --- a/src/main.c +++ b/src/main.c @@ -35,7 +35,7 @@ static neu_manager_t *g_manager = NULL; zlog_category_t * neuron = NULL; bool disable_jwt = false; int default_log_level = ZLOG_LEVEL_NOTICE; -char host_port[24] = { 0 }; +char host_port[32] = { 0 }; int64_t global_timestamp = 0;