extern int write_batch;
extern struct stats stats;
extern struct file_list *cur_flist, *first_flist;
-extern char *stdout_format;
/**
* @file
void write_ndx_and_attrs(int f_out, int ndx, int iflags,
uchar fnamecmp_type, char *buf, int len)
{
- write_int(f_out, ndx);
+ write_ndx(f_out, ndx);
if (protocol_version < 29)
return;
write_shortint(f_out, iflags);
if (incremental && first_flist) {
flist_free(first_flist);
if (first_flist) {
- write_int(f_out, NDX_DONE);
+ write_ndx(f_out, NDX_DONE);
continue;
}
}
break;
if (verbose > 2)
rprintf(FINFO, "send_files phase=%d\n", phase);
- write_int(f_out, NDX_DONE);
+ write_ndx(f_out, NDX_DONE);
continue;
}
match_report();
- write_int(f_out, NDX_DONE);
+ write_ndx(f_out, NDX_DONE);
}