summaryrefslogtreecommitdiff
path: root/source/smbd/files.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>1998-08-16 06:20:18 +0000
committerAndrew Tridgell <tridge@samba.org>1998-08-16 06:20:18 +0000
commitb3dd3785751db2d5d0a80ffac9c3df01c9909891 (patch)
tree8578fde771c5e06f5176f150c656f123398e450d /source/smbd/files.c
parent16228c185a7844a243db538aa1e5729e62a8bc4a (diff)
downloadsamba-b3dd3785751db2d5d0a80ffac9c3df01c9909891.tar.gz
- some tidying up in files.c
- handle null fsp in DEBUG() at end of reply_ntcreate_and_X(). Jeremy, can you fix this properly? - get snum right in print queue code in ipc.c (it was broken by my connections_struct changes).
Diffstat (limited to 'source/smbd/files.c')
-rw-r--r--source/smbd/files.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/smbd/files.c b/source/smbd/files.c
index 66fbaebeb09..8f1cefbbb6e 100644
--- a/source/smbd/files.c
+++ b/source/smbd/files.c
@@ -223,9 +223,9 @@ void file_init(void)
{
struct rlimit rlp;
getrlimit(RLIMIT_NOFILE, &rlp);
- /* Set the fd limit to be MAX_OPEN_FILES + 10 to
- * account for the extra fd we need to read
- * directories, as well as the log files and standard
+ /* Set the fd limit to be MAX_FNUMS + 10 to
+ * account for the extra fd we need
+ * as well as the log files and standard
* handles etc. */
rlp.rlim_cur = (MAX_FNUMS+10>rlp.rlim_max)?
rlp.rlim_max:MAX_FNUMS+10;