From d96a7eb2a156aba6131273071aaccb10cc9c6f71 Mon Sep 17 00:00:00 2001 From: Love Hornquist Astrand Date: Mon, 23 Nov 2009 09:51:30 -0800 Subject: [PATCH] start a unix service too --- lib/ipc/ts.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/ipc/ts.c b/lib/ipc/ts.c index 8d6226305..c5594c221 100644 --- a/lib/ipc/ts.c +++ b/lib/ipc/ts.c @@ -74,6 +74,7 @@ test_service(void *ctx, const heim_idata *req, int main(int argc, char **argv) { + heim_sipc unix; int optidx = 0; setprogname(argv[0]); @@ -96,6 +97,8 @@ main(int argc, char **argv) test_service, NULL, &mach); } #endif + heim_sipc_service_unix("org.h5l.test-ipc", + test_service, NULL, &unix); heim_ipc_main(); return 0;