fixbug:buffer size too small,host:port be truncated

This commit is contained in:
xiang.zhou
2023-09-06 19:00:58 +08:00
parent a623b0c522
commit e0979d1759
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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,
+1 -1
View File
@@ -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;