Indent.
This commit is contained in:
parent
f9d7c3b4cd
commit
5586535f4c
@ -504,13 +504,13 @@ main(int argc, char *argv[], char **envp)
|
||||
(struct sockaddr *)&his_addr,
|
||||
&addrlen);
|
||||
if (fd >= 0) {
|
||||
if ((pid = fork()) == 0) {
|
||||
/* child */
|
||||
(void) dup2(fd, 0);
|
||||
(void) dup2(fd, 1);
|
||||
close(ctl_sock[i]);
|
||||
} else
|
||||
close(fd);
|
||||
if ((pid = fork()) == 0) {
|
||||
/* child */
|
||||
(void) dup2(fd, 0);
|
||||
(void) dup2(fd, 1);
|
||||
close(ctl_sock[i]);
|
||||
} else
|
||||
close(fd);
|
||||
}
|
||||
}
|
||||
if (pid == 0)
|
||||
|
Loading…
Reference in New Issue
Block a user