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
8b510bef
Commit
8b510bef
authored
Dec 20, 1998
by
Per Cederqvist
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(cached_conf_exists): Mention a possible way to speed up this.
parent
9c298b35
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
2 deletions
+7
-2
src/server/simple-cache.c
src/server/simple-cache.c
+7
-2
No files found.
src/server/simple-cache.c
View file @
8b510bef
/*
* $Id: simple-cache.c,v 0.
69 1998/10/11 17:19:10
ceder Exp $
* $Id: simple-cache.c,v 0.
70 1998/12/20 19:50:16
ceder Exp $
* Copyright (C) 1991, 1992, 1993, 1994, 1995, 1996 Lysator Academic Computer Association.
*
* This file is part of the LysKOM server.
...
...
@@ -35,7 +35,7 @@
*/
static
const
char
*
rcsid
=
"$Id: simple-cache.c,v 0.
69 1998/10/11 17:19:10
ceder Exp $"
;
rcsid
=
"$Id: simple-cache.c,v 0.
70 1998/12/20 19:50:16
ceder Exp $"
;
#include "rcs.h"
USE
(
rcsid
);
...
...
@@ -853,6 +853,11 @@ cached_conf_exists(Conf_no conf_no)
if
(
conf_no
==
0
||
conf_no
>=
next_free_num
)
return
FALSE
;
/* FIXME: it is probably faster to use
return small_conf_arr[conf_no] != NULL ? TRUE : FALSE
but that requires changes to cached_delete_conf.
*/
node
=
get_conf_node
(
conf_no
);
if
(
node
!=
NULL
&&
node
->
s
.
exists
!=
0
)
...
...
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