summaryrefslogtreecommitdiffstats
path: root/source3
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2014-02-19 13:59:07 +0100
committerJeremy Allison <jra@samba.org>2014-03-05 10:06:24 -0800
commit74f8c3568a5dcdee108a0526cefac9d282361044 (patch)
tree39d7dd62f1dd919a7b3c4df60f9a1d9d3205db99 /source3
parentf0f245f4c8b1a506e8d06c72d3d6680b95738714 (diff)
downloadsamba-74f8c3568a5dcdee108a0526cefac9d282361044.tar.gz
samba-74f8c3568a5dcdee108a0526cefac9d282361044.tar.xz
samba-74f8c3568a5dcdee108a0526cefac9d282361044.zip
s3:param: avoid using BUFFER_SIZE to limit the lp_min_receive_file_size()
There's really no reason to add such limit. Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source3')
-rw-r--r--source3/param/loadparm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c
index 2114fa33a0..05657591e4 100644
--- a/source3/param/loadparm.c
+++ b/source3/param/loadparm.c
@@ -5204,7 +5204,7 @@ int lp_min_receive_file_size(void)
if (Globals.iminreceivefile < 0) {
return 0;
}
- return MIN(Globals.iminreceivefile, BUFFER_SIZE);
+ return Globals.iminreceivefile;
}
/*******************************************************************