Commit adf62230 authored by Per Cederqvist's avatar Per Cederqvist
Browse files

Include <sys/time.h>.

(initialize): Fixed typo.
parent 8251f16b
/*
* $Id: ramkomd.c,v 0.52 1994/10/24 00:34:39 ceder Exp $
* $Id: ramkomd.c,v 0.53 1994/11/14 23:37:13 ceder Exp $
* Copyright (C) 1991, 1992, 1993, 1994 Lysator Academic Computer Association.
*
* This file is part of the LysKOM server.
......@@ -31,7 +31,7 @@
* It has grown! /ceder
*/
static char *rcsid = "$Id: ramkomd.c,v 0.52 1994/10/24 00:34:39 ceder Exp $";
static char *rcsid = "$Id: ramkomd.c,v 0.53 1994/11/14 23:37:13 ceder Exp $";
#include "rcs.h"
USE(rcsid);
......@@ -52,6 +52,7 @@ USE(rcsid);
#include <sys/wait.h>
#include <time.h>
#ifdef HAVE_SYS_RESOURCE_H
# include <sys/time.h>
# include <sys/resource.h>
#endif
#include <unistd.h>
......@@ -322,7 +323,7 @@ initialize(const char *config_file)
#endif
#if defined(HAVE_SETRLIMIT) && defined(RLIMIT_NOFILE)
if (param.no_file != -1)
if (param.no_files != -1)
{
if (getrlimit(RLIMIT_NOFILE, &rlim) < 0)
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment