From 4744da8762c492654204b0ee0b3c47631f44ce29 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Wed, 19 Jan 2011 16:13:42 +0100 Subject: 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 Autobuild-Date: Wed Jan 19 23:10:50 CET 2011 on sn-devel-104 --- source3/param/loadparm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3') 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) { -- cgit