summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--debuggerd/tombstoned/tombstoned.cpp10
1 files changed, 6 insertions, 4 deletions
diff --git a/debuggerd/tombstoned/tombstoned.cpp b/debuggerd/tombstoned/tombstoned.cpp
index 93c7fb5b8..1bf8f14d0 100644
--- a/debuggerd/tombstoned/tombstoned.cpp
+++ b/debuggerd/tombstoned/tombstoned.cpp
@@ -389,8 +389,9 @@ int main(int, char* []) {
389 389
390 intercept_manager = new InterceptManager(base, intercept_socket); 390 intercept_manager = new InterceptManager(base, intercept_socket);
391 391
392 evconnlistener* tombstone_listener = evconnlistener_new( 392 evconnlistener* tombstone_listener =
393 base, crash_accept_cb, CrashQueue::for_tombstones(), -1, LEV_OPT_CLOSE_ON_FREE, crash_socket); 393 evconnlistener_new(base, crash_accept_cb, CrashQueue::for_tombstones(), LEV_OPT_CLOSE_ON_FREE,
394 -1 /* backlog */, crash_socket);
394 if (!tombstone_listener) { 395 if (!tombstone_listener) {
395 LOG(FATAL) << "failed to create evconnlistener for tombstones."; 396 LOG(FATAL) << "failed to create evconnlistener for tombstones.";
396 } 397 }
@@ -402,8 +403,9 @@ int main(int, char* []) {
402 } 403 }
403 404
404 evutil_make_socket_nonblocking(java_trace_socket); 405 evutil_make_socket_nonblocking(java_trace_socket);
405 evconnlistener* java_trace_listener = evconnlistener_new( 406 evconnlistener* java_trace_listener =
406 base, crash_accept_cb, CrashQueue::for_anrs(), -1, LEV_OPT_CLOSE_ON_FREE, java_trace_socket); 407 evconnlistener_new(base, crash_accept_cb, CrashQueue::for_anrs(), LEV_OPT_CLOSE_ON_FREE,
408 -1 /* backlog */, java_trace_socket);
407 if (!java_trace_listener) { 409 if (!java_trace_listener) {
408 LOG(FATAL) << "failed to create evconnlistener for java traces."; 410 LOG(FATAL) << "failed to create evconnlistener for java traces.";
409 } 411 }