Commit 0044d63d authored by Per Cederqvist's avatar Per Cederqvist
Browse files

Test NDEFENSIVE_CHECKS instead of DEFENSIVE_CHECKS.

parent bb87e9d7
/* /*
* $Id: membership.c,v 0.19 1994/04/05 08:02:22 ceder Exp $ * $Id: membership.c,v 0.20 1994/06/18 20:27:05 ceder Exp $
* Copyright (C) 1991, 1992, 1993, 1994 Lysator Academic Computer Association. * Copyright (C) 1991, 1992, 1993, 1994 Lysator Academic Computer Association.
* *
* This file is part of the LysKOM server. * This file is part of the LysKOM server.
...@@ -31,7 +31,7 @@ ...@@ -31,7 +31,7 @@
#define DEBUG_MARK_AS_READ #define DEBUG_MARK_AS_READ
static char *rcsid = "$Id: membership.c,v 0.19 1994/04/05 08:02:22 ceder Exp $"; static char *rcsid = "$Id: membership.c,v 0.20 1994/06/18 20:27:05 ceder Exp $";
#include "rcs.h" #include "rcs.h"
USE(rcsid); USE(rcsid);
...@@ -306,7 +306,7 @@ adjust_read( Membership * m, ...@@ -306,7 +306,7 @@ adjust_read( Membership * m,
Local_text_no conf_max; /* Highest used local_text_no in conf */ Local_text_no conf_max; /* Highest used local_text_no in conf */
Local_text_no conf_min; /* Lowest used local_text_no in conf */ Local_text_no conf_min; /* Lowest used local_text_no in conf */
Bool ready; Bool ready;
#ifdef DEFENSIVE_CHECKS #ifndef NDEFENSIVE_CHECKS
Local_text_no prev; Local_text_no prev;
#endif #endif
...@@ -366,7 +366,7 @@ adjust_read( Membership * m, ...@@ -366,7 +366,7 @@ adjust_read( Membership * m,
} }
} }
#ifdef DEFENSIVE_CHECKS #ifndef NDEFENSIVE_CHECKS
/* Check that the items in read_texts really ARE sorted in ascending order. /* Check that the items in read_texts really ARE sorted in ascending order.
If not, there is probably a bug in this routine or in mark_as_read */ If not, there is probably a bug in this routine or in mark_as_read */
......
Supports Markdown
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