summaryrefslogtreecommitdiffstats
path: root/debuggerd
diff options
context:
space:
mode:
authorJosh Gao <jmgao@google.com>2017-09-22 17:39:44 -0700
committerJosh Gao <jmgao@google.com>2017-09-22 18:00:35 -0700
commitce9cc4e42897d26fc14497326b98eb8cdee04b48 (patch)
tree29e5e8ba50885137f2677e67ff15b4e6e807c20a /debuggerd
parent643e9a536cc27a81a77eb8497ed05dcf0292249b (diff)
downloadsystem_core-ce9cc4e42897d26fc14497326b98eb8cdee04b48.tar.gz
system_core-ce9cc4e42897d26fc14497326b98eb8cdee04b48.tar.bz2
system_core-ce9cc4e42897d26fc14497326b98eb8cdee04b48.zip
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
Diffstat (limited to 'debuggerd')
-rw-r--r--debuggerd/tombstoned/intercept_manager.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/debuggerd/tombstoned/intercept_manager.cpp b/debuggerd/tombstoned/intercept_manager.cpp
index 24960bc98..c446dbba8 100644
--- a/debuggerd/tombstoned/intercept_manager.cpp
+++ b/debuggerd/tombstoned/intercept_manager.cpp
@@ -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,