/[inetutils]/inetutils/ftpd/ftpd.c
ViewVC logotype

Diff of /inetutils/ftpd/ftpd.c

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

revision 1.52 by ams, Tue Dec 28 22:50:45 2004 UTC revision 1.53 by ams, Sat Jan 22 14:53:23 2005 UTC
# Line 884  retrieve (const char *cmd, const char *n Line 884  retrieve (const char *cmd, const char *n
884        return;        return;
885      }      }
886    byte_count = -1;    byte_count = -1;
887    if (cmd == 0 && (fstat (fileno (fin), &st) < 0 || !S_ISREG (st.st_mode)    if (cmd == 0 && (fstat (fileno (fin), &st) < 0 || !S_ISREG (st.st_mode)))
                    || !(buffer_size = ST_BLKSIZE (st))))  
888      {      {
889        reply(550, "%s: not a plain file.", name);        reply(550, "%s: not a plain file.", name);
890        goto done;        goto done;

Legend:
Removed from v.1.52  
changed lines
  Added in v.1.53

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