Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6014a15e authored by Josh Gao's avatar Josh Gao Committed by android-build-merger
Browse files

Merge "tombstoned: fix another call to evconnlistener_new." am: baea76db am: 6d0d6c34

am: 5d0e0fbd

Change-Id: Iccc34fef36be06df302706a65fdf99bebb1dcaad
parents 57f9d659 5d0e0fbd
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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,