Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
L
lyskom-server-ceder-1616-generations-topgit
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Per Cederqvist
lyskom-server-ceder-1616-generations-topgit
Commits
2e282bdd
Commit
2e282bdd
authored
33 years ago
by
Per Cederqvist
Browse files
Options
Downloads
Patches
Plain Diff
delete_conf: logga ut r{tt person n{r en person raderas.
parent
52fed243
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/server/ChangeLog
+6
-0
6 additions, 0 deletions
src/server/ChangeLog
src/server/conference.c
+7
-5
7 additions, 5 deletions
src/server/conference.c
with
13 additions
and
5 deletions
src/server/ChangeLog
+
6
−
0
View file @
2e282bdd
Tue Sep 10 21:58:18 1991 Per Cederqvist (ceder at robert)
* conference.c (delete_conf): Om det {r en brevl}da som tas bort
s} ska personen som tas bort loggas ut f|rst (inte n|dv{ndigtvis
personen som tar bort en person...)
Thu Sep 5 10:14:40 1991 Per Cederqvist (ceder at lysator)
Thu Sep 5 10:14:40 1991 Per Cederqvist (ceder at lysator)
* cache.h, simple-cache.c, dbck-cache.c (cached_set_conf_type):
* cache.h, simple-cache.c, dbck-cache.c (cached_set_conf_type):
...
...
This diff is collapsed.
Click to expand it.
src/server/conference.c
+
7
−
5
View file @
2e282bdd
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
* All atomic calls that deals with conferences.
* All atomic calls that deals with conferences.
*/
*/
static
char
*
rcsid
=
"$Id: conference.c,v 0.1
0
1991/09/
05 08:32
:5
0
ceder Exp $"
;
static
char
*
rcsid
=
"$Id: conference.c,v 0.1
1
1991/09/
10 20:01
:5
8
ceder Exp $"
;
#include
<time.h>
#include
<time.h>
...
@@ -429,7 +429,7 @@ delete_conf (Conf_no conf_no )
...
@@ -429,7 +429,7 @@ delete_conf (Conf_no conf_no )
CHK_LOGIN
(
FAILURE
);
CHK_LOGIN
(
FAILURE
);
GET_C_STAT
(
conf_c
,
conf_no
,
FAILURE
);
GET_C_STAT
(
conf_c
,
conf_no
,
FAILURE
);
acc
=
access_perm
(
conf_no
,
conf_c
);
acc
=
access_perm
(
conf_no
,
conf_c
);
if
(
acc
!=
unlimited
)
if
(
acc
!=
unlimited
)
{
{
...
@@ -439,15 +439,17 @@ delete_conf (Conf_no conf_no )
...
@@ -439,15 +439,17 @@ delete_conf (Conf_no conf_no )
if
(
conf_c
->
type
.
letter_box
)
if
(
conf_c
->
type
.
letter_box
)
{
{
logout_person
(
ACTPERS
);
/* Log out this person from any connection */
/* Make sure the person that is deleted is not logged in. */
logout_person
(
conf_no
);
if
(
do_delete_pers
(
conf_no
)
!=
OK
)
if
(
do_delete_pers
(
conf_no
)
!=
OK
)
{
{
log
(
"ERROR: delete_conf(): can't delete person.
\n
"
);
log
(
"ERROR: delete_conf(): can't delete person.
\n
"
);
}
}
}
}
do_delete_conf
(
conf_no
,
conf_c
);
do_delete_conf
(
conf_no
,
conf_c
);
return
OK
;
return
OK
;
}
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment