- if (protocol_version >= 29) {
- iflags = read_shortint(f_in);
- if (!(iflags & ITEM_UPDATING) || !S_ISREG(file->mode)) {
- int see_item = itemizing && (iflags || verbose > 1);
- if (am_server) {
- if (am_daemon && !dry_run && see_item)
- log_recv(file, &stats, iflags);
- } else if (see_item || iflags & ITEM_UPDATING
- || (S_ISDIR(file->mode)
- && iflags & ITEM_REPORT_TIME))
- log_recv(file, &stats, iflags);
- continue;
- }
- } else
- iflags = ITEM_UPDATING | ITEM_MISSING_DATA;
+ if (!(iflags & ITEM_UPDATING) || !S_ISREG(file->mode)) {
+ maybe_log_item(file, iflags, itemizing, fnametmp);
+ continue;
+ }