cvs commit: src/libexec/ftpd ftpd.c

Yar Tikhiy yar at FreeBSD.org
Sat Nov 13 13:42:43 GMT 2004


yar         2004-11-13 13:42:43 UTC

  FreeBSD src repository

  Modified files:
    libexec/ftpd         ftpd.c 
  Log:
  Using off_t to pass a block size is obvious overkill.
  The size_t type is better suited for that, particularly because
  the "blksize" argument is to be passed to malloc() and read().
  On 64-bit archs it's more to a style issue, but the good style
  of coding in C is also important.
  
  Revision  Changes    Path
  1.177     +2 -2      src/libexec/ftpd/ftpd.c


More information about the cvs-src mailing list