From b590b27b45725993335c6c1f110bf1a9bb56513b Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sun, 16 Aug 1998 06:20:18 +0000 Subject: - 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). (This used to be commit b3dd3785751db2d5d0a80ffac9c3df01c9909891) --- source3/smbd/files.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'source3/smbd/files.c') diff --git a/source3/smbd/files.c b/source3/smbd/files.c index 66fbaebeb0..8f1cefbbb6 100644 --- a/source3/smbd/files.c +++ b/source3/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; -- cgit