Don't try to obey bwlimit restriction until bwlimit_writemax is set.
authorWayne Davison <wayned@samba.org>
Mon, 20 Feb 2006 17:50:36 +0000 (17:50 +0000)
committerWayne Davison <wayned@samba.org>
Mon, 20 Feb 2006 17:50:36 +0000 (17:50 +0000)
commit9a0cfff57f6598a2f8ede199ef31be4dc57a8dad
treed92aede759eade8757835172942a35b770a0dc7e
parentd749eb6896029099c08cda39e738a87468f76ffc
Don't try to obey bwlimit restriction until bwlimit_writemax is set.
This fixes a bug with option errors not getting reported because the
write code gets called with bwlimit != 0 and bwlimit_writemax == 0.
io.c