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
72b159ba
Commit
72b159ba
authored
Sep 22, 2001
by
David Byers
Browse files
(modify_text_info): Added author as owner argument to
check_delete_aux_item_list.
parent
5e84bba4
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/server/text.c
View file @
72b159ba
/*
* $Id: text.c,v 0.8
0
200
0
/09/
06 19:54:33 ced
er Exp $
* $Id: text.c,v 0.8
1
200
1
/09/
22 13:41:26 by
er
s
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.8
0
200
0
/09/
06 19:54:33 ced
er Exp $"
;
rcsid
=
"$Id: text.c,v 0.8
1
200
1
/09/
22 13:41:26 by
er
s
Exp $"
;
#include "rcs.h"
USE
(
rcsid
);
...
...
@@ -466,7 +466,8 @@ is_member_in_recpt(const Person *person,
if
((
mship
=
locate_membership
(
text_s
->
misc_items
[
i
].
datum
.
recipient
,
person
))
!=
NULL
)
{
return
!
(
mship
->
type
.
passive
&&
skip_passive
);
if
(
!
(
mship
->
type
.
passive
&&
skip_passive
))
return
TRUE
;
}
break
;
...
...
@@ -474,7 +475,8 @@ is_member_in_recpt(const Person *person,
if
((
mship
=
locate_membership
(
text_s
->
misc_items
[
i
].
datum
.
cc_recipient
,
person
))
!=
NULL
)
{
return
!
(
mship
->
type
.
passive
&&
skip_passive
);
if
(
!
(
mship
->
type
.
passive
&&
skip_passive
))
return
TRUE
;
}
break
;
...
...
@@ -482,7 +484,8 @@ is_member_in_recpt(const Person *person,
if
((
mship
=
locate_membership
(
text_s
->
misc_items
[
i
].
datum
.
bcc_recipient
,
person
))
!=
NULL
)
{
return
!
(
mship
->
type
.
passive
&&
skip_passive
);
if
(
!
(
mship
->
type
.
passive
&&
skip_passive
))
return
TRUE
;
}
break
;
...
...
@@ -3428,7 +3431,9 @@ modify_text_info(Text_no text,
prepare_aux_item_list
(
aux
,
ACTPERS
);
if
(
check_delete_aux_item_list
(
items_to_delete
,
&
text_s
->
aux_item_list
)
!=
OK
)
if
(
check_delete_aux_item_list
(
items_to_delete
,
&
text_s
->
aux_item_list
,
text_s
->
author
)
!=
OK
)
return
FAILURE
;
delete_aux_item_list
(
items_to_delete
,
&
text_s
->
aux_item_list
,
...
...
Write
Preview
Markdown
is supported
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