]> git.ipfire.org Git - thirdparty/dovecot/core.git/commit
FreeBSD's sendfile() works only with sockets. Replace errno with EINVAL to
authorTimo Sirainen <tss@iki.fi>
Sat, 8 Feb 2003 13:52:51 +0000 (15:52 +0200)
committerTimo Sirainen <tss@iki.fi>
Sat, 8 Feb 2003 13:52:51 +0000 (15:52 +0200)
commit2efdf9871cb3bec7a221513526641ca83fa3728f
treeae249607ad50152a12ae74970a8ba0d371a51623
parent75ccfda648bc1baec9eb5bc65862cbab5f5fca81
FreeBSD's sendfile() works only with sockets. Replace errno with EINVAL to
make it look like sendfile isn't supported.

--HG--
branch : HEAD
src/lib/sendfile-util.c