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
e1fc568d
Commit
e1fc568d
authored
Jul 05, 1999
by
Per Cederqvist
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(login_old): Removed the conf_c argument from all calls to is_supervisor.
(login): Likewise. (disconnect): Likewise.
parent
15082c80
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
src/server/session.c
src/server/session.c
+5
-5
No files found.
src/server/session.c
View file @
e1fc568d
/*
* $Id: session.c,v 0.5
3 1999/06/26 15:49:20
ceder Exp $
* $Id: session.c,v 0.5
4 1999/07/05 06:58:57
ceder Exp $
* Copyright (C) 1991-1994, 1996-1999 Lysator Academic Computer Association.
*
* This file is part of the LysKOM server.
...
...
@@ -34,7 +34,7 @@
#endif
static
const
char
*
rcsid
=
"$Id: session.c,v 0.5
3 1999/06/26 15:49:20
ceder Exp $"
;
rcsid
=
"$Id: session.c,v 0.5
4 1999/07/05 06:58:57
ceder Exp $"
;
#include "rcs.h"
USE
(
rcsid
);
...
...
@@ -135,7 +135,7 @@ login_old (Pers_no pers_no,
}
#endif
if
(
!
is_supervisor
(
pers_no
,
NULL
,
ACTPERS
,
ACT_P
)
&&
if
(
!
is_supervisor
(
pers_no
,
ACTPERS
,
ACT_P
)
&&
!
ENA
(
wheel
,
8
)
&&
/* OK -- In an RPC call */
chk_passwd
(
pers_p
->
pwd
,
passwd
)
==
FAILURE
)
{
...
...
@@ -218,7 +218,7 @@ login (Pers_no pers_no,
}
#endif
if
(
!
is_supervisor
(
pers_no
,
NULL
,
ACTPERS
,
ACT_P
)
&&
if
(
!
is_supervisor
(
pers_no
,
ACTPERS
,
ACT_P
)
&&
!
ENA
(
wheel
,
8
)
&&
/* OK -- In an RPC call */
chk_passwd
(
pers_p
->
pwd
,
passwd
)
==
FAILURE
)
{
...
...
@@ -763,7 +763,7 @@ disconnect (Session_no session_no)
if
(
session_no
==
active_connection
->
session_no
||
session_no
==
0
||
ENA
(
wheel
,
8
)
||
/* OK -- In an RPC call */
is_supervisor
(
cptr
->
pers_no
,
NULL
,
ACTPERS
,
ACT_P
)
==
TRUE
is_supervisor
(
cptr
->
pers_no
,
ACTPERS
,
ACT_P
)
==
TRUE
)
{
add_to_kill_list
(
cptr
);
...
...
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