Commit 785db4ce authored by Wayne Davison's avatar Wayne Davison

Merged a couple more f != -1 if sections.

parent 5562deb1
......@@ -1135,12 +1135,11 @@ struct file_list *send_file_list(int f, int argc, char *argv[])
clean_flist(flist, 0, 0);
/* now send the uid/gid list. This was introduced in protocol
* version 15 */
if (f != -1)
if (f != -1) {
/* Now send the uid/gid list. This was introduced in
* protocol version 15 */
send_uid_list(f);
if (f != -1) {
/* send the io_error flag */
write_int(f, lp_ignore_errors(module_id) ? 0 : io_error);
......@@ -1212,17 +1211,19 @@ struct file_list *recv_file_list(int f)
clean_flist(flist, relative_paths, 1);
/* now recv the uid/gid list. This was introduced in protocol version 15 */
if (f != -1)
if (f != -1) {
/* Now send the uid/gid list. This was introduced in
* protocol version 15 */
recv_uid_list(f, flist);
/* recv the io_error flag */
if (f != -1 && !read_batch) { /* dw-added readbatch */
if (!read_batch) {
/* Recv the io_error flag */
if (lp_ignore_errors(module_id) || ignore_errors)
read_int(f);
else
io_error |= read_int(f);
}
}
if (list_only) {
int i;
......@@ -1230,7 +1231,6 @@ struct file_list *recv_file_list(int f)
list_file_entry(flist->files[i]);
}
if (verbose > 2)
rprintf(FINFO, "recv_file_list done\n");
......
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