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

Diff for /src/usr.bin/ftp/fetch.c between version 1.212 and 1.213

version 1.212, 2022/11/09 17:41:05 version 1.213, 2022/12/26 19:16:01
Line 934 
Line 934 
                                         } else                                          } else
                                                 loctail[1] = '\0';                                                  loctail[1] = '\0';
                                 }                                  }
                                 /* Contruct URL from relative redirect */                                  /* Construct URL from relative redirect */
                                 if (asprintf(&redirurl, "%s%s%s%s/%s%s",                                  if (asprintf(&redirurl, "%s%s%s%s/%s%s",
                                     scheme, full_host,                                      scheme, full_host,
                                     portnum ? ":" : "",                                      portnum ? ":" : "",

Legend:
Removed from v.1.212  
changed lines
  Added in v.1.213