diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2014-12-18 19:06:06 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2014-12-18 19:06:06 +0000 |
commit | 5f76ed9108c5c48850cf339096527c4d53f0bc12 (patch) | |
tree | 6ccf306c97ccea0021bfea2f70c3654501953b45 /src/libunixonacid | |
parent | b19b3e0682d6e224c12b35308772114fe27372fe (diff) | |
download | skalibs-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.c | 2 |
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)) { |