Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5d54f33
)
Tweaked the error code for a pipe() failure.
author
Wayne Davison
<wayned@samba.org>
Sat, 13 Nov 2004 22:32:34 +0000
(22:32 +0000)
committer
Wayne Davison
<wayned@samba.org>
Sat, 13 Nov 2004 22:32:34 +0000
(22:32 +0000)
main.c
patch
|
blob
|
blame
|
history
diff --git
a/main.c
b/main.c
index
2baac16
..
267cbd7
100644
(file)
--- a/
main.c
+++ b/
main.c
@@
-481,13
+481,13
@@
static int do_recv(int f_in,int f_out,struct file_list *flist,char *local_name)
if (fd_pair(error_pipe) < 0
|| (need_name_pipe && fd_pair(name_pipe) < 0)) {
rsyserr(FERROR, errno, "pipe failed in do_recv");
- exit_cleanup(RERR_
SOCKETIO
);
+ exit_cleanup(RERR_
IPC
);
}
io_flush(NORMAL_FLUSH);
if ((pid = do_fork()) == -1) {
- rsyserr(FERROR, errno, "fork failed in do_recv
()
");
+ rsyserr(FERROR, errno, "fork failed in do_recv");
exit_cleanup(RERR_IPC);
}