/[inetutils]/inetutils/ftp/main.c
ViewVC logotype

Diff of /inetutils/ftp/main.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.18 by ams, Mon Apr 29 20:40:30 2002 UTC revision 1.19 by jbailey, Tue Oct 5 20:52:53 2004 UTC
# Line 317  cmdscanner (int top) Line 317  cmdscanner (int top)
317        line = readline (prompt);        line = readline (prompt);
318        if (!line)        if (!line)
319          quit (0, 0);          quit (0, 0);
320          l = strlen (line);
321          if (l >= MAXLINE)
322            {
323              printf("Line too long.\n");
324              break;
325            }
326        if (line && *line)        if (line && *line)
327          add_history (line);          add_history (line);
       l = strlen (line);  
328        if (l == 0)        if (l == 0)
329          break;          break;
330  #else  #else

Legend:
Removed from v.1.18  
changed lines
  Added in v.1.19

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26