[BACK]Return to sender.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / rsync

Diff for /src/usr.bin/rsync/sender.c between version 1.16 and 1.17

version 1.16, 2019/02/18 22:47:34 version 1.17, 2019/02/21 22:08:53
Line 174 
Line 174 
                  * to find another.                   * to find another.
                  */                   */
   
                 LOG3(sess, "%s: flushed %jd KB total, %.2f%% uploaded",                  if (!sess->opts->dry_run)
                         fl[up->cur->idx].path,                          LOG3(sess, "%s: flushed %jd KB total, %.2f%% "
                         (intmax_t)up->stat.total / 1024,                                  "uploaded", fl[up->cur->idx].path,
                         100.0 * up->stat.dirty / up->stat.total);                                  (intmax_t)up->stat.total / 1024,
                                   100.0 * up->stat.dirty / up->stat.total);
                 send_up_reset(up);                  send_up_reset(up);
                 return 1;                  return 1;
         case BLKSTAT_PHASE:          case BLKSTAT_PHASE:
Line 241 
Line 242 
                         return 0;                          return 0;
                 }                  }
                 io_lowbuffer_int(sess, *wb, &pos, *wbsz, up->cur->idx);                  io_lowbuffer_int(sess, *wb, &pos, *wbsz, up->cur->idx);
                 up->stat.curst = BLKSTAT_NEXT;                  up->stat.curst = BLKSTAT_DONE;
         } else {          } else {
                 assert(up->stat.fd != -1);                  assert(up->stat.fd != -1);
   

Legend:
Removed from v.1.16  
changed lines
  Added in v.1.17