Change an RERR_* to RERR_FILEIO.
authorWayne Davison <wayned@samba.org>
Sun, 8 Nov 2009 19:51:02 +0000 (11:51 -0800)
committerWayne Davison <wayned@samba.org>
Sun, 8 Nov 2009 19:51:02 +0000 (11:51 -0800)
sender.c

index 7aadfcb..bf6e7b4 100644 (file)
--- a/sender.c
+++ b/sender.c
@@ -337,7 +337,7 @@ void send_files(int f_in, int f_out)
                        rsyserr(FERROR_XFER, errno, "fstat failed");
                        free_sums(s);
                        close(fd);
-                       exit_cleanup(RERR_PROTOCOL);
+                       exit_cleanup(RERR_FILEIO);
                }
 
                if (st.st_size) {