Commit 4c9d5fef authored by Wayne Davison's avatar Wayne Davison

Repositioned a misplaced assignment.

parent 56078033
...@@ -1286,7 +1286,6 @@ void send_extra_file_list(int f, int at_least) ...@@ -1286,7 +1286,6 @@ void send_extra_file_list(int f, int at_least)
past_and_present = cur_flist->ndx_start - first_flist->ndx_start past_and_present = cur_flist->ndx_start - first_flist->ndx_start
+ cur_flist->count; + cur_flist->count;
while (file_total - past_and_present < at_least) { while (file_total - past_and_present < at_least) {
start_write = stats.total_written;
struct file_struct *file = dir_flist->files[send_dir_ndx]; struct file_struct *file = dir_flist->files[send_dir_ndx];
int32 *dp; int32 *dp;
int dlen; int dlen;
...@@ -1300,6 +1299,7 @@ void send_extra_file_list(int f, int at_least) ...@@ -1300,6 +1299,7 @@ void send_extra_file_list(int f, int at_least)
} }
flist = flist_new(0, "send_extra_file_list"); flist = flist_new(0, "send_extra_file_list");
start_write = stats.total_written;
write_int(f, NDX_FLIST_OFFSET - send_dir_ndx); write_int(f, NDX_FLIST_OFFSET - send_dir_ndx);
change_local_filter_dir(fbuf, dlen, send_dir_depth); change_local_filter_dir(fbuf, dlen, send_dir_depth);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment