If the file size is zero, there's nothing to transmit so avoid spamming
authorjca <jca@openbsd.org>
Wed, 8 Jan 2014 17:31:36 +0000 (17:31 +0000)
committerjca <jca@openbsd.org>
Wed, 8 Jan 2014 17:31:36 +0000 (17:31 +0000)
commitaa8037be325bcf13995676a9d8a199c96a61e540
tree53c005d7b126fbfaa57972048f84bffe5e43519f
parent5d3b3ef61cc3810568949358b7eedad4a0736edc
If the file size is zero, there's nothing to transmit so avoid spamming
syslog with mmap failures.  Noticed by and ok henning@, "looks right"
deraadt@
libexec/ftpd/ftpd.c