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

Diff for /src/usr.bin/rsync/uploader.c between version 1.13 and 1.14

version 1.13, 2019/02/16 16:56:33 version 1.14, 2019/02/17 16:34:04
Line 732 
Line 732 
          */           */
   
         if (u->state == UPLOAD_WRITE_LOCAL) {          if (u->state == UPLOAD_WRITE_LOCAL) {
                 assert(NULL != u->buf);                  assert(u->buf != NULL);
                 assert(*fileoutfd != -1);                  assert(*fileoutfd != -1);
                 assert(*fileinfd == -1);                  assert(*fileinfd == -1);
   
Line 823 
Line 823 
   
                 /* Go back to the event loop, if necessary. */                  /* Go back to the event loop, if necessary. */
   
                 u->state = -1 == *fileinfd ?                  u->state = (*fileinfd == -1) ?
                         UPLOAD_WRITE_LOCAL : UPLOAD_READ_LOCAL;                      UPLOAD_WRITE_LOCAL : UPLOAD_READ_LOCAL;
                 if (u->state == UPLOAD_READ_LOCAL)                  if (u->state == UPLOAD_READ_LOCAL)
                         return 1;                          return 1;
         }          }

Legend:
Removed from v.1.13  
changed lines
  Added in v.1.14