Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Per Cederqvist
lyskom-server-ceder-1616-generations-topgit
Commits
0044d63d
Commit
0044d63d
authored
Jun 18, 1994
by
Per Cederqvist
Browse files
Test NDEFENSIVE_CHECKS instead of DEFENSIVE_CHECKS.
parent
bb87e9d7
Changes
1
Show whitespace changes
Inline
Side-by-side
src/server/membership.c
View file @
0044d63d
/*
* $Id: membership.c,v 0.
19
1994/0
4/05 08:02:22
ceder Exp $
* $Id: membership.c,v 0.
20
1994/0
6/18 20:27:05
ceder Exp $
* Copyright (C) 1991, 1992, 1993, 1994 Lysator Academic Computer Association.
*
* This file is part of the LysKOM server.
...
...
@@ -31,7 +31,7 @@
#define DEBUG_MARK_AS_READ
static
char
*
rcsid
=
"$Id: membership.c,v 0.
19
1994/0
4/05 08:02:22
ceder Exp $"
;
static
char
*
rcsid
=
"$Id: membership.c,v 0.
20
1994/0
6/18 20:27:05
ceder Exp $"
;
#include "rcs.h"
USE
(
rcsid
);
...
...
@@ -306,7 +306,7 @@ adjust_read( Membership * m,
Local_text_no
conf_max
;
/* Highest used local_text_no in conf */
Local_text_no
conf_min
;
/* Lowest used local_text_no in conf */
Bool
ready
;
#ifdef DEFENSIVE_CHECKS
#if
n
def
N
DEFENSIVE_CHECKS
Local_text_no
prev
;
#endif
...
...
@@ -366,7 +366,7 @@ adjust_read( Membership * m,
}
}
#ifdef DEFENSIVE_CHECKS
#if
n
def
N
DEFENSIVE_CHECKS
/* 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 */
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment