projects
/
platform
/
upstream
/
nsjail.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a47123b
)
make indent
author
Robert Swiecki
<robert@swiecki.net>
Mon, 17 Feb 2020 19:33:45 +0000
(20:33 +0100)
committer
Robert Swiecki
<robert@swiecki.net>
Mon, 17 Feb 2020 19:33:45 +0000
(20:33 +0100)
nsjail.cc
patch
|
blob
|
history
diff --git
a/nsjail.cc
b/nsjail.cc
index 57c462bd8403fd658d6c2468cfb1cd2f2a87efe7..c9e2bca0923ed7b075600441c83102706b0793df 100644
(file)
--- a/
nsjail.cc
+++ b/
nsjail.cc
@@
-235,8
+235,11
@@
static int listenMode(nsjconf_t* nsjconf) {
PLOG_E("pipe");
continue;
}
- nsjconf->pipes.push_back(
- {.sock_fd = connfd, .pipe_in = in[1], .pipe_out = out[0]});
+ nsjconf->pipes.push_back({
+ .sock_fd = connfd,
+ .pipe_in = in[1],
+ .pipe_out = out[0],
+ });
subproc::runChild(nsjconf, connfd, in[0], out[1], out[1]);
close(in[0]);
close(out[1]);