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

Diff for /src/usr.bin/ftp/main.c between version 1.66 and 1.67

version 1.66, 2007/09/05 08:04:49 version 1.67, 2007/11/26 12:39:00
Line 121 
Line 121 
         el = NULL;          el = NULL;
         hist = NULL;          hist = NULL;
         cookiefile = NULL;          cookiefile = NULL;
           resume = 0;
 #endif  #endif
         mark = HASHBYTES;          mark = HASHBYTES;
         marg_sl = sl_init();          marg_sl = sl_init();
Line 181 
Line 182 
         cookiefile = getenv("http_cookies");          cookiefile = getenv("http_cookies");
 #endif  #endif
   
         while ((ch = getopt(argc, argv, "46Aac:dEegik:mno:pP:r:tvV")) != -1) {          while ((ch = getopt(argc, argv, "46AaCc:dEegik:mno:pP:r:tvV")) != -1) {
                 switch (ch) {                  switch (ch) {
                 case '4':                  case '4':
                         family = PF_INET;                          family = PF_INET;
Line 198 
Line 199 
                         anonftp = 1;                          anonftp = 1;
                         break;                          break;
   
                   case 'C':
   #ifndef SMALL
                           resume = 1;
   #endif
                           break;
   
                 case 'c':                  case 'c':
 #ifndef SMALL  #ifndef SMALL
                         cookiefile = optarg;                          cookiefile = optarg;
Line 757 
Line 764 
 usage(void)  usage(void)
 {  {
         (void)fprintf(stderr,          (void)fprintf(stderr,
             "usage: %s [-46AadEegimnptVv] [-c cookie] [-k seconds] "              "usage: %s [-46AaCdEegimnptVv] [-c cookie] [-k seconds] "
             "[-P port] [-r seconds]\n"              "[-P port] [-r seconds]\n"
             "           [host [port]]\n"              "           [host [port]]\n"
             "       %s [-o output] ftp://[user:password@]host[:port]/file[/]\n"              "       %s [-o output] ftp://[user:password@]host[:port]/file[/]\n"

Legend:
Removed from v.1.66  
changed lines
  Added in v.1.67