[SCM] The rsync repository. - branch master updated

Rsync CVS commit messages rsync-cvs at lists.samba.org
Sun May 25 17:01:16 MDT 2014


The branch, master has been updated
       via  de8ec0b Exit with a partial-transfer error for a sender-remove failure.
      from  677c6e1 Check for attr lib.

;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit de8ec0b309705bf9987fd7d67874f7d1a6fa4f3b
Author: Wayne Davison <wayned at samba.org>
Date:   Sun May 25 15:58:14 2014 -0700

    Exit with a partial-transfer error for a sender-remove failure.

-----------------------------------------------------------------------

Summary of changes:
 sender.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)


Changeset truncated at 500 lines:

diff --git a/sender.c b/sender.c
index d9a9eca..1277177 100644
--- a/sender.c
+++ b/sender.c
@@ -147,7 +147,7 @@ void successful_send(int ndx)
 	 || (NSEC_BUMP(file) && (uint32)st.ST_MTIME_NSEC != F_MOD_NSEC(file))
 #endif
 	) {
-		rprintf(FERROR, "ERROR: Skipping sender remove for changed file: %s\n", fname);
+		rprintf(FERROR_XFER, "ERROR: Skipping sender remove for changed file: %s\n", fname);
 		return;
 	}
 
@@ -157,7 +157,7 @@ void successful_send(int ndx)
 		if (errno == ENOENT)
 			rprintf(FINFO, "sender file already removed: %s\n", fname);
 		else
-			rsyserr(FERROR, errno, "sender failed to %s %s", failed_op, fname);
+			rsyserr(FERROR_XFER, errno, "sender failed to %s %s", failed_op, fname);
 	} else {
 		if (INFO_GTE(REMOVE, 1))
 			rprintf(FINFO, "sender removed %s\n", fname);


-- 
The rsync repository.


More information about the rsync-cvs mailing list