Merge pull request #1515 from ZhouBox/main

fixbug:buffer size too small,host:port be truncated
This commit is contained in:
fengzeroz
2023-09-07 09:31:06 +08:00
committed by GitHub
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;