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

Diff for /src/usr.bin/rsync/receiver.c between version 1.15 and 1.16

version 1.15, 2019/02/16 10:49:37 version 1.16, 2019/02/16 16:57:17
Line 330 
Line 330 
         LOG2(sess, "%s: ready for phase 1 data", root);          LOG2(sess, "%s: ready for phase 1 data", root);
   
         for (;;) {          for (;;) {
                 if ((c = poll(pfd, PFD__MAX, INFTIM)) == -1) {                  if ((c = poll(pfd, PFD__MAX, POLL_TIMEOUT)) == -1) {
                         ERR(sess, "poll");                          ERR(sess, "poll");
                           goto out;
                   } else if (c == 0) {
                           ERRX(sess, "poll: timeout");
                         goto out;                          goto out;
                 }                  }
   

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