Restored a "return;" at the end of a void function that is actually
authorWayne Davison <wayned@samba.org>
Sun, 21 Jan 2007 05:28:57 +0000 (05:28 +0000)
committerWayne Davison <wayned@samba.org>
Sun, 21 Jan 2007 05:28:57 +0000 (05:28 +0000)
needed to allow the user to disable ACL support.

acls.diff

index 6cbafcc..678a5d6 100644 (file)
--- a/acls.diff
+++ b/acls.diff
@@ -2231,7 +2231,7 @@ latest ACL-enabling patch to send files to an older ACL-enabled rsync.
  
        if (f_copy >= 0) {
                close(f_copy);
-@@ -1646,6 +1727,12 @@ static void recv_generator(char *fname, 
+@@ -1646,6 +1727,13 @@ static void recv_generator(char *fname, 
        }
  
        close(fd);
@@ -2241,10 +2241,11 @@ latest ACL-enabling patch to send files to an older ACL-enabled rsync.
 +      if (preserve_acls)
 +              free_acl(&sx);
 +#endif
++      return;
  }
  
  static void touch_up_dirs(struct file_list *flist, int ndx,
-@@ -1742,6 +1829,8 @@ void generate_files(int f_out, char *loc
+@@ -1742,6 +1830,8 @@ void generate_files(int f_out, char *loc
         * notice that and let us know via the redo pipe (or its closing). */
        ignore_timeout = 1;