Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
lyskom-server-ceder-1616-generations-topgit
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Per Cederqvist
lyskom-server-ceder-1616-generations-topgit
Commits
72b159ba
Commit
72b159ba
authored
Sep 22, 2001
by
David Byers
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(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
Showing
1 changed file
with
11 additions
and
6 deletions
+11
-6
src/server/text.c
src/server/text.c
+11
-6
No files found.
src/server/text.c
View file @
72b159ba
/*
* $Id: text.c,v 0.8
0 2000/09/06 19:54:33 ceder
Exp $
* $Id: text.c,v 0.8
1 2001/09/22 13:41:26 byers
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 2000/09/06 19:54:33 ceder
Exp $"
;
rcsid
=
"$Id: text.c,v 0.8
1 2001/09/22 13:41:26 byers
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