Commit 23c383eb authored by Per Cederqvist's avatar Per Cederqvist
Browse files

(mark_as_read): Don't leak info about secret conferences. (Bug 48).

parent bacd845b
/*
* $Id: membership.c,v 0.82 2002/11/26 11:30:23 ceder Exp $
* $Id: membership.c,v 0.83 2002/11/27 23:36:50 ceder Exp $
* Copyright (C) 1991-2002 Lysator Academic Computer Association.
*
* This file is part of the LysKOM server.
......@@ -1515,12 +1515,7 @@ mark_as_read (Conf_no conference,
if ( (m = locate_membership( conference, ACT_P)) == NULL)
{
#if 1
err_stat = conference;
kom_errno = KOM_NOT_MEMBER;
#else /* FIXME: (bug 48): Write test case, then do like below. */
set_conf_errno(active_connection, conference, KOM_NOT_MEMBER);
#endif
return FAILURE;
}
......
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