Commit 85aa57a7 authored by Wayne Davison's avatar Wayne Davison

In read_iflags(), we need to set buf to an empty string.

parent 58a14ed9
......@@ -144,6 +144,8 @@ int read_iflags(int f_in, int f_out, int ndx, char *buf)
exit_cleanup(RERR_PROTOCOL);
}
*buf = '\0';
if ((!(iflags & ITEM_UPDATING) || !S_ISREG(the_file_list->files[ndx]->mode)) && f_out >= 0) {
write_int(f_out, ndx);
write_shortint(f_out, iflags);
......
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