[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.106 and 1.107

version 1.106, 2012/08/14 20:47:08 version 1.107, 2012/08/18 06:46:46
Line 672 
Line 672 
                         auth = NULL;                          auth = NULL;
                 } else                  } else
 #endif  /* SMALL */  #endif  /* SMALL */
                 ftp_printf(fin, ssl, "GET /%s %s\r\nHost: ", epath,                          ftp_printf(fin, ssl, "GET /%s %s\r\nHost: ", epath,
                     "HTTP/1.0");  #ifndef SMALL
                               restart_point ? "HTTP/1.1\r\nConnection: close" :
   #endif /* !SMALL */
                               "HTTP/1.0");
                 if (strchr(host, ':')) {                  if (strchr(host, ':')) {
                         /*                          /*
                          * strip off scoped address portion, since it's                           * strip off scoped address portion, since it's

Legend:
Removed from v.1.106  
changed lines
  Added in v.1.107