Use the new LIVE_FLAGS define to fix a potential flag problem.
authorWayne Davison <wayned@samba.org>
Sat, 10 Jan 2004 21:10:04 +0000 (21:10 +0000)
committerWayne Davison <wayned@samba.org>
Sat, 10 Jan 2004 21:10:04 +0000 (21:10 +0000)
batch.c

diff --git a/batch.c b/batch.c
index 3f344ad..753eae9 100644 (file)
--- a/batch.c
+++ b/batch.c
@@ -47,7 +47,7 @@ void write_batch_flist_info(int flist_count, struct file_struct **files)
 
        reset_file_entry_vars();
        for (i = 0; i < flist_count; i++)
-               send_file_entry(files[i], f, files[i]->flags & FLAG_DELETE);
+               send_file_entry(files[i], f, files[i]->flags & LIVE_FLAGS);
        send_file_entry(NULL, f, 0);
 
        protocol_version = save_pv;