From 5f76ed9108c5c48850cf339096527c4d53f0bc12 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Thu, 18 Dec 2014 19:06:06 +0000 Subject: Separate socket from pipe in child_spawn. Less code in skaclient! --- src/libunixonacid/skaclient_startf_async.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/libunixonacid/skaclient_startf_async.c') diff --git a/src/libunixonacid/skaclient_startf_async.c b/src/libunixonacid/skaclient_startf_async.c index 4077c1e..14fa29a 100644 --- a/src/libunixonacid/skaclient_startf_async.c +++ b/src/libunixonacid/skaclient_startf_async.c @@ -32,7 +32,7 @@ int skaclient_startf_async ( skaclient_cbdata_t *blah) { int fd ; - pid_t pid = child_spawn(prog, argv, envp, &fd, 1) ; + pid_t pid = child_spawn1_socket(prog, argv, envp, &fd) ; if (!pid) return 0 ; if (!skaclient_init(a, fd, bufss, bufsn, auxbufss, auxbufsn, bufas, bufan, auxbufas, auxbufan, q, qlen, before, beforelen)) { -- cgit v1.2.3