Re: Test success of flushing body to disk.

2009-10-17 Thread Robert Spier
I applied this to my tree, but then reverted it. It may be possible for the _body_file fh to be closed, but _filename still be set. Do we still want to fail in that case? -R Steve Kemp wrote: > > The current code in body_filename doesn't test that > the flush operation succeeds leading

Test success of flushing body to disk.

2009-10-16 Thread Steve Kemp
The current code in body_filename doesn't test that the flush operation succeeds leading to potential message loss. All current plugins distributed in the core test to see if body_filename() returns a defined value so we can fix this with the following patch: -- s...@gold:~/git/qpsmtpd$ g