git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2092577
)
s3:param: avoid using BUFFER_SIZE to limit the lp_min_receive_file_size()
author
Stefan Metzmacher
<metze@samba.org>
Wed, 19 Feb 2014 12:59:07 +0000
(13:59 +0100)
committer
Karolin Seeger
<kseeger@samba.org>
Tue, 1 Apr 2014 07:26:37 +0000
(09:26 +0200)
There's really no reason to add such limit.
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
(cherry picked from commit
74f8c3568a5dcdee108a0526cefac9d282361044
)
source3/param/loadparm.c
patch
|
blob
|
history
diff --git
a/source3/param/loadparm.c
b/source3/param/loadparm.c
index b9945ac8b9cb98d45aa994ba2b61b54c680b72cb..a339a1db52e6fe5c9251cb5fbe950307579b7d15 100644
(file)
--- a/
source3/param/loadparm.c
+++ b/
source3/param/loadparm.c
@@
-5467,7
+5467,7
@@
int lp_min_receive_file_size(void)
if (Globals.iminreceivefile < 0) {
return 0;
}
- return
MIN(Globals.iminreceivefile, BUFFER_SIZE)
;
+ return
Globals.iminreceivefile
;
}
/*******************************************************************