初始化kni_acceptor结构体
This commit is contained in:
@@ -187,9 +187,9 @@ void __kni_event_cb(evutil_socket_t fd, short what, void * user)
|
||||
{
|
||||
struct kni_acceptor * __ctx = (struct kni_acceptor *)user;
|
||||
struct cmsghdr * __cmsghdr;
|
||||
struct tfe_proxy_accept_para __accept_para;
|
||||
int * __fds = NULL;
|
||||
struct tfe_proxy_accept_para __accept_para{};
|
||||
|
||||
int * __fds = NULL;
|
||||
assert(__ctx != NULL && __ctx->thread == pthread_self());
|
||||
assert(what & EV_READ);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user