Commit 83e1af72 authored by Per Cederqvist's avatar Per Cederqvist

(access_perm): Fixed the logic error that caused several false

	warnings to be logged.
parent 34c0b395
/*
* $Id: membership.c,v 0.54 1999/07/05 21:17:42 ceder Exp $
* $Id: membership.c,v 0.55 1999/07/11 23:41:12 ceder Exp $
* Copyright (C) 1991-1999 Lysator Academic Computer Association.
*
* This file is part of the LysKOM server.
......@@ -38,7 +38,7 @@
#define DEBUG_MARK_AS_READ
static const char *
rcsid = "$Id: membership.c,v 0.54 1999/07/05 21:17:42 ceder Exp $";
rcsid = "$Id: membership.c,v 0.55 1999/07/11 23:41:12 ceder Exp $";
#include "rcs.h"
USE(rcsid);
......@@ -796,8 +796,8 @@ access_perm(Conf_no victim,
Access result;
if (wanted_access != read_protected
|| wanted_access != limited
|| wanted_access != unlimited)
&& wanted_access != limited
&& wanted_access != unlimited)
{
static int ctr = 0;
if (ctr < 10)
......
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