Merge "tombstoned: fix another call to evconnlistener_new."

am: baea76dba7

Change-Id: I37f27333ea52881056b04341699c671244ab0835
This commit is contained in:
Josh Gao 2017-09-25 13:00:40 +00:00 committed by android-build-merger
commit 6d0d6c34cd

View file

@ -185,8 +185,8 @@ static void intercept_accept_cb(evconnlistener* listener, evutil_socket_t sockfd
} }
InterceptManager::InterceptManager(event_base* base, int intercept_socket) : base(base) { InterceptManager::InterceptManager(event_base* base, int intercept_socket) : base(base) {
this->listener = evconnlistener_new(base, intercept_accept_cb, this, -1, LEV_OPT_CLOSE_ON_FREE, this->listener = evconnlistener_new(base, intercept_accept_cb, this, LEV_OPT_CLOSE_ON_FREE,
intercept_socket); /* backlog */ -1, intercept_socket);
} }
bool InterceptManager::GetIntercept(pid_t pid, DebuggerdDumpType dump_type, bool InterceptManager::GetIntercept(pid_t pid, DebuggerdDumpType dump_type,