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
e28c7a5c
Commit
e28c7a5c
authored
Aug 11, 2003
by
Per Cederqvist
Browse files
(do_delete_pers): Update STAT_PERSONS.
(create_person_generic): Update STAT_PERSONS and STAT_CONFS.
parent
2b6cbc0c
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/server/person.c
View file @
e28c7a5c
/*
* $Id: person.c,v 0.7
8
2003/0
7
/1
2
22:
26:33
ceder Exp $
* $Id: person.c,v 0.7
9
2003/0
8
/1
1
22:
17:20
ceder Exp $
* Copyright (C) 1991-1999, 2001-2002 Lysator Academic Computer Association.
*
* This file is part of the LysKOM server.
...
...
@@ -75,6 +75,7 @@
#include
"kom-memory.h"
#include
"server-time.h"
#include
"send-async.h"
#include
"stats.h"
BUGDECL
;
...
...
@@ -411,6 +412,7 @@ do_delete_pers (Pers_no pers_no)
l2g_clear
(
&
pers_p
->
created_texts
);
cached_delete_person
(
pers_no
);
update_stat
(
STAT_PERSONS
,
-
1
);
/* ASYNC */
return
OK
;
...
...
@@ -709,6 +711,8 @@ create_person_generic ( const String name,
login
(
new_user
,
passwd
,
FALSE
);
}
update_stat
(
STAT_CONFS
,
1
);
update_stat
(
STAT_PERSONS
,
1
);
return
new_user
;
}
...
...
Write
Preview
Supports
Markdown
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