Commit 62124ab6 authored by Per Cederqvist's avatar Per Cederqvist

Back out a patch from Joel Rosdahl that was included in the last

commit by David Byers.  The patch is probably good, but there was no
changelog entry, and (more importantly) I want to write test cases
that illustrates the problem before applying the fix.
parent d9d56eb9
/*
* $Id: text.c,v 0.81 2001/09/22 13:41:26 byers Exp $
* $Id: text.c,v 0.82 2001/09/22 15:04:39 ceder Exp $
* Copyright (C) 1991-2000 Lysator Academic Computer Association.
*
* This file is part of the LysKOM server.
......@@ -34,7 +34,7 @@
#endif
static const char *
rcsid = "$Id: text.c,v 0.81 2001/09/22 13:41:26 byers Exp $";
rcsid = "$Id: text.c,v 0.82 2001/09/22 15:04:39 ceder Exp $";
#include "rcs.h"
USE(rcsid);
......@@ -466,8 +466,7 @@ is_member_in_recpt(const Person *person,
if ((mship = locate_membership(
text_s->misc_items[i].datum.recipient, person)) != NULL)
{
if (!(mship->type.passive && skip_passive))
return TRUE;
return !(mship->type.passive && skip_passive);
}
break;
......@@ -475,8 +474,7 @@ is_member_in_recpt(const Person *person,
if ((mship = locate_membership(
text_s->misc_items[i].datum.cc_recipient, person)) != NULL)
{
if (!(mship->type.passive && skip_passive))
return TRUE;
return !(mship->type.passive && skip_passive);
}
break;
......@@ -484,8 +482,7 @@ is_member_in_recpt(const Person *person,
if ((mship = locate_membership(
text_s->misc_items[i].datum.bcc_recipient, person)) != NULL)
{
if (!(mship->type.passive && skip_passive))
return TRUE;
return !(mship->type.passive && skip_passive);
}
break;
......
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