From c3ca6f01a3204ac81397d5abe77c1280d8eb0591 Mon Sep 17 00:00:00 2001 From: comex Date: Sat, 11 Jul 2015 16:12:18 -0400 Subject: fix anti-noise --- darwin-bootstrap/bundle-loader.c | 2 +- darwin-bootstrap/substituted.m | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'darwin-bootstrap') diff --git a/darwin-bootstrap/bundle-loader.c b/darwin-bootstrap/bundle-loader.c index 90ebbf2..49e6152 100644 --- a/darwin-bootstrap/bundle-loader.c +++ b/darwin-bootstrap/bundle-loader.c @@ -2,7 +2,7 @@ #define IB_LOG_TO_SYSLOG #include "ib-log.h" #include "darwin/mach-decls.h" -#include "xxpc.h" +#include "darwin/xxpc.h" #include #include #include diff --git a/darwin-bootstrap/substituted.m b/darwin-bootstrap/substituted.m index 28576ea..ca793ba 100644 --- a/darwin-bootstrap/substituted.m +++ b/darwin-bootstrap/substituted.m @@ -1,6 +1,6 @@ #import #import -#include "xxpc.h" +#include "darwin/xxpc.h" #include "substitute.h" /* This is a daemon contacted by all processes which can load extensions. It @@ -231,7 +231,7 @@ static void init_peer(xxpc_object_t peer) { xxpc_connection_cancel(peer); xxpc_release(reply); } else if (ty == XXPC_TYPE_ERROR) { - if (event == XXPC_ERROR_CONNECTION_INTERRUPTED) + if (event == XXPC_ERROR_CONNECTION_INVALID) return; NSLog(@"XPC error from peer: %@", event); } else { -- cgit v1.2.3