🐞 fix(packet init): init packet need free as 0
This commit is contained in:
@@ -162,6 +162,8 @@ static void *work_thread(void *arg)
|
||||
uint16_t thr_idx = thread->idx;
|
||||
__thread_id = thr_idx;
|
||||
|
||||
memset(packets, 0, sizeof(packets));
|
||||
|
||||
snprintf(thd_name, sizeof(thd_name), "stellar:%d", thr_idx);
|
||||
prctl(PR_SET_NAME, (unsigned long long)thd_name, NULL, NULL, NULL);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user