The server now needs the F_NDX() data for --iconv with incremental
authorWayne Davison <wayned@samba.org>
Thu, 26 Apr 2007 23:15:39 +0000 (23:15 +0000)
committerWayne Davison <wayned@samba.org>
Thu, 26 Apr 2007 23:15:39 +0000 (23:15 +0000)
recursion.

rsync.c

diff --git a/rsync.c b/rsync.c
index 06fd30b..e7dd4be 100644 (file)
--- a/rsync.c
+++ b/rsync.c
@@ -127,7 +127,7 @@ void setup_iconv()
                exit_cleanup(RERR_UNSUPPORTED);
        }
 
                exit_cleanup(RERR_UNSUPPORTED);
        }
 
-       if (!am_sender)
+       if (!am_sender || inc_recurse)
                ic_ndx = ++file_extra_cnt;
 
        if (verbose > 1) {
                ic_ndx = ++file_extra_cnt;
 
        if (verbose > 1) {