Skip to content
Snippets Groups Projects
Commit 302d821a authored by Per Cederqvist's avatar Per Cederqvist
Browse files

Trivial bugfix.

parent 23850c14
No related branches found
No related tags found
No related merge requests found
/* /*
* $Id: membership.c,v 0.9 1992/03/12 03:36:52 ceder Exp $ * $Id: membership.c,v 0.10 1992/04/04 17:28:16 ceder Exp $
* Copyright (C) 1991 Lysator Academic Computer Association. * Copyright (C) 1991 Lysator Academic Computer Association.
* *
* This file is part of the LysKOM server. * This file is part of the LysKOM server.
...@@ -29,7 +29,7 @@ ...@@ -29,7 +29,7 @@
* (The person/conf relation). * (The person/conf relation).
*/ */
static char *rcsid = "$Id: membership.c,v 0.9 1992/03/12 03:36:52 ceder Exp $"; static char *rcsid = "$Id: membership.c,v 0.10 1992/04/04 17:28:16 ceder Exp $";
#include <time.h> #include <time.h>
#include <stdlib.h> #include <stdlib.h>
...@@ -1177,7 +1177,7 @@ get_unread_confs(Pers_no pers_no, ...@@ -1177,7 +1177,7 @@ get_unread_confs(Pers_no pers_no,
{ {
if ((confs->last_text_read if ((confs->last_text_read
< cached_get_highest_local_no (confs->conf_no)) < cached_get_highest_local_no (confs->conf_no))
&& (fast_access_perm(confs->conf_no, NULL, ACTPERS, ACT_P) && (fast_access_perm(confs->conf_no, ACTPERS, ACT_P)
> read_protected)) > read_protected))
{ {
result->conf_nos[ result->no_of_confs++ ] = confs->conf_no; result->conf_nos[ result->no_of_confs++ ] = confs->conf_no;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment