summaryrefslogtreecommitdiff
path: root/source3/param
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2011-01-19 16:13:42 +0100
committerAndreas Schneider <asn@samba.org>2011-01-19 23:10:50 +0100
commit4744da8762c492654204b0ee0b3c47631f44ce29 (patch)
tree0e13d3853055b4a2ba146ba2c93077c76fc47fad /source3/param
parent7a97518e12054e1f84236501322b756c5c09d7dd (diff)
downloadsamba-4744da8762c492654204b0ee0b3c47631f44ce29.tar.gz
samba-4744da8762c492654204b0ee0b3c47631f44ce29.tar.bz2
samba-4744da8762c492654204b0ee0b3c47631f44ce29.zip
s3-param: Fixed code block in max_open_files().
When the HAVE_GETRLIMIT and RLIMIT_NOFILE macros are defined the block isn't closed. Autobuild-User: Andreas Schneider <asn@samba.org> Autobuild-Date: Wed Jan 19 23:10:50 CET 2011 on sn-devel-104
Diffstat (limited to 'source3/param')
-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 2f68f00c78..875cab1629 100644
--- a/source3/param/loadparm.c
+++ b/source3/param/loadparm.c
@@ -4893,8 +4893,8 @@ static int max_open_files(void)
#if defined(RLIM_INFINITY)
if(rl.rlim_cur == RLIM_INFINITY)
rlimit_max = MAX_OPEN_FILES;
- }
#endif
+ }
#endif
if (sysctl_max < MIN_OPEN_FILES_WINDOWS) {