tombstoned: fix another call to evconnlistener_new.

Apply the same fix from c2e98f63 to intercept_manager.cpp.

Bug: http://b/64543673
Test: debuggerd_test
Change-Id: Ibfb919e059fa62f8336cfc1426d03ef015590136
This commit is contained in:
Josh Gao 2017-09-22 17:39:44 -07:00
parent 643e9a536c
commit ce9cc4e428

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) {
this->listener = evconnlistener_new(base, intercept_accept_cb, this, -1, LEV_OPT_CLOSE_ON_FREE,
intercept_socket);
this->listener = evconnlistener_new(base, intercept_accept_cb, this, LEV_OPT_CLOSE_ON_FREE,
/* backlog */ -1, intercept_socket);
}
bool InterceptManager::GetIntercept(pid_t pid, DebuggerdDumpType dump_type,