[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.51 and 1.52

version 1.51, 2020/12/15 08:20:42 version 1.52, 2021/03/22 11:16:05
Line 132 
Line 132 
                         f->module = cp;                          f->module = cp;
                         if ((cp = strchr(f->module, '/')) != NULL)                          if ((cp = strchr(f->module, '/')) != NULL)
                                 *cp = '\0';                                  *cp = '\0';
                         if ((cp = strchr(f->host, ':'))) {                          if ((cp = strchr(f->host, ':')) != NULL) {
                                 /* host:port --> extract port */                                  /* host:port --> extract port */
                                 *cp++ = '\0';                                  *cp++ = '\0';
                                 opts->port = cp;                                  opts->port = cp;

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