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

Diff for /src/usr.bin/rsync/main.c between version 1.50 and 1.51

version 1.50, 2020/11/24 16:54:44 version 1.51, 2020/12/15 08:20:42
Line 409 
Line 409 
         if (opts.port == NULL)          if (opts.port == NULL)
                 opts.port = "rsync";                  opts.port = "rsync";
   
           /* by default and for --timeout=0 disable poll_timeout */
           if (poll_timeout == 0)
                   poll_timeout = -1;
           else
                   poll_timeout *= 1000;
   
         /*          /*
          * This is what happens when we're started with the "hidden"           * This is what happens when we're started with the "hidden"
          * --server option, which is invoked for the rsync on the remote           * --server option, which is invoked for the rsync on the remote
Line 417 
Line 423 
   
         if (opts.server)          if (opts.server)
                 exit(rsync_server(&opts, (size_t)argc, argv));                  exit(rsync_server(&opts, (size_t)argc, argv));
   
         /* by default and for --timeout=0 disable poll_timeout */  
         if (poll_timeout == 0)  
                 poll_timeout = -1;  
         else  
                 poll_timeout *= 1000;  
   
         /*          /*
          * Now we know that we're the client on the local machine           * Now we know that we're the client on the local machine

Legend:
Removed from v.1.50  
changed lines
  Added in v.1.51