Its a stream fd, dgram later

This commit is contained in:
Love Hornquist Astrand
2009-11-23 07:30:46 -08:00
parent 60f6593f63
commit 960b6d9cc5

View File

@@ -676,9 +676,9 @@ socket_release(heim_sipc ctx)
#endif #endif
int int
heim_sipc_launchd_fd_init(int fd, heim_sipc_launchd_stream_fd_init(int fd,
heim_ipc_callback callback, heim_ipc_callback callback,
void *user, heim_sipc *ctx) void *user, heim_sipc *ctx)
{ {
#ifndef HAVE_GCD #ifndef HAVE_GCD
heim_sipc ct = calloc(1, sizeof(*ct)); heim_sipc ct = calloc(1, sizeof(*ct));
@@ -701,7 +701,7 @@ heim_sipc_service_unix(const char *service,
{ {
int fd = -1; int fd = -1;
return heim_sipc_launchd_fd_init(fd, callback, user, ctx); return heim_sipc_launchd_stream_fd_init(fd, callback, user, ctx);
} }