diff options
author | Wayne Davison <wayned@samba.org> | 2004-07-14 16:41:10 +0000 |
---|---|---|
committer | Wayne Davison <wayned@samba.org> | 2004-07-14 16:41:10 +0000 |
commit | 3896bca4d8b407a54471337692e68d0658e0efa7 (patch) | |
tree | 5817d04737267e49dafbb1284ae0e624b0263198 /pipe.c | |
parent | 9774cc334494e12bd35197e7e1ab9fd6b0ef3023 (diff) | |
download | rsync-3896bca4d8b407a54471337692e68d0658e0efa7.tar.gz rsync-3896bca4d8b407a54471337692e68d0658e0efa7.tar.bz2 rsync-3896bca4d8b407a54471337692e68d0658e0efa7.zip |
Tweaked some single-line ifs.
Diffstat (limited to 'pipe.c')
-rw-r--r-- | pipe.c | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -127,8 +127,10 @@ pid_t local_child(int argc, char **argv,int *f_in,int *f_out, rsyserr(FERROR, errno, "Failed to dup/close"); exit_cleanup(RERR_IPC); } - if (to_child_pipe[0] != STDIN_FILENO) close(to_child_pipe[0]); - if (from_child_pipe[1] != STDOUT_FILENO) close(from_child_pipe[1]); + if (to_child_pipe[0] != STDIN_FILENO) + close(to_child_pipe[0]); + if (from_child_pipe[1] != STDOUT_FILENO) + close(from_child_pipe[1]); child_main(argc, argv); } |