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

Diff for /src/usr.bin/ftp/util.c between version 1.15 and 1.16

version 1.15, 1997/09/15 04:57:54 version 1.16, 1997/11/25 08:10:34
Line 444 
Line 444 
   
         if (!interactive || confirmrest)          if (!interactive || confirmrest)
                 return (1);                  return (1);
   top:
         fprintf(ttyout, "%s %s? ", cmd, file);          fprintf(ttyout, "%s %s? ", cmd, file);
         (void)fflush(ttyout);          (void)fflush(ttyout);
         if (fgets(line, sizeof(line), stdin) == NULL)          if (fgets(line, sizeof(line), stdin) == NULL)
Line 464 
Line 465 
                         break;                          break;
                 default:                  default:
                         fprintf(ttyout, "n, y, p, a, are the only acceptable commands!\n");                          fprintf(ttyout, "n, y, p, a, are the only acceptable commands!\n");
                         fprintf(ttyout, "%s %s? ", cmd, file);                          goto top;
                         fgets(line, sizeof(line), stdin);  
                         confirm(cmd, file);  
                         break;                          break;
         }          }
         return (1);          return (1);

Legend:
Removed from v.1.15  
changed lines
  Added in v.1.16