summaryrefslogtreecommitdiffstats
path: root/source/lib/util.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>1998-10-19 01:03:52 +0000
committerAndrew Tridgell <tridge@samba.org>1998-10-19 01:03:52 +0000
commit5abdb70e2a5cda2df444dfe5a9cdcb751be75ca8 (patch)
treecbb500864d937e36ffa6f96b665a0daffaf78e0f /source/lib/util.c
parent279cbe69efd75450113d2da0da5e67b29f3702b1 (diff)
downloadsamba-5abdb70e2a5cda2df444dfe5a9cdcb751be75ca8.tar.gz
samba-5abdb70e2a5cda2df444dfe5a9cdcb751be75ca8.tar.xz
samba-5abdb70e2a5cda2df444dfe5a9cdcb751be75ca8.zip
removed an incorrect comment
Diffstat (limited to 'source/lib/util.c')
-rw-r--r--source/lib/util.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/source/lib/util.c b/source/lib/util.c
index 8660e22e577..b49369a5820 100644
--- a/source/lib/util.c
+++ b/source/lib/util.c
@@ -4857,10 +4857,6 @@ int set_maxfiles(int requested_max)
#if (defined(HAVE_GETRLIMIT) && defined(RLIMIT_NOFILE))
struct rlimit rlp;
getrlimit(RLIMIT_NOFILE, &rlp);
- /* Set the fd limit to be real_max_open_files + MAX_OPEN_FUDGEFACTOR to
- * account for the extra fd we need
- * as well as the log files and standard
- * handles etc. */
rlp.rlim_cur = MIN(requested_max,rlp.rlim_max);
setrlimit(RLIMIT_NOFILE, &rlp);
getrlimit(RLIMIT_NOFILE, &rlp);