Fix bug noticed by Volker - if sendfile returns zero then
authorJeremy Allison <jra@samba.org>
Tue, 13 Jan 2009 21:02:44 +0000 (13:02 -0800)
committerJeremy Allison <jra@samba.org>
Tue, 13 Jan 2009 21:02:44 +0000 (13:02 -0800)
commit0f450623c5e73b941ced136ba7160bf6554a21ce
tree5232d14f1f9dcf737a12a8d91e7d7de0a677ce93
parent83c3b2809636cab704a54c2d699a907c6d07d199
Fix bug noticed by Volker - if sendfile returns zero then
we might have to handle a short send by filling with zeros.
Jeremy.
source3/lib/sendfile.c
source3/smbd/reply.c