Commit 19a2d12a authored by Per Cederqvist's avatar Per Cederqvist

Turn off defensive checks in this file. They cost too much CPU.

parent cfac57b3
/*
* $Id: internal-connections.c,v 0.41 1999/06/03 22:11:07 ceder Exp $
* $Id: internal-connections.c,v 0.42 1999/06/25 15:49:44 ceder Exp $
* Copyright (C) 1991-1994, 1996-1999 Lysator Academic Computer Association.
*
* This file is part of the LysKOM server.
......@@ -35,7 +35,7 @@
static const char *
rcsid = "$Id: internal-connections.c,v 0.41 1999/06/03 22:11:07 ceder Exp $";
rcsid = "$Id: internal-connections.c,v 0.42 1999/06/25 15:49:44 ceder Exp $";
#include "rcs.h"
USE(rcsid);
......@@ -59,6 +59,10 @@ USE(rcsid);
#include "kom-memory.h"
#include "server-time.h"
/* We don't need the defensive checks in this file. They have been
tested enough the last few years. They also consume a lot of CPU. */
#define NDEFENSIVE_CHECKS 1
INTERNAL Connection *all_connections = NULL;
INTERNAL Session_no no_of_connection_attempts = 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