summaryrefslogtreecommitdiff
path: root/src/libunixonacid
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2014-12-18 19:06:06 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2014-12-18 19:06:06 +0000
commit5f76ed9108c5c48850cf339096527c4d53f0bc12 (patch)
tree6ccf306c97ccea0021bfea2f70c3654501953b45 /src/libunixonacid
parentb19b3e0682d6e224c12b35308772114fe27372fe (diff)
downloadskalibs-5f76ed9108c5c48850cf339096527c4d53f0bc12.tar.xz
Separate socket from pipe in child_spawn. Less code in skaclient!
Diffstat (limited to 'src/libunixonacid')
-rw-r--r--src/libunixonacid/skaclient_startf_async.c2
1 files changed, 1 insertions, 1 deletions
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))
{