+ file = flist->files[i];
+
+ if (protocol_version >= 29) {
+ iflags = read_byte(f_in);
+ iflags |= read_byte(f_in) << 8;
+ if (!(iflags & ITEM_UPDATING) || !S_ISREG(file->mode)) {
+ if (am_server) {
+ write_int(f_out, i);
+ write_byte(f_out, iflags);
+ write_byte(f_out, iflags >> 8);
+ } else
+ log_send(file, &stats, iflags);
+ continue;
+ }
+ } else
+ iflags = ITEM_UPDATING | ITEM_MISSING_DATA;
+