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
94fc7c42
Commit
94fc7c42
authored
Jul 23, 1999
by
Per Cederqvist
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(cached_lookup_name): Don't follow the NULL pointer.
parent
f180e5ef
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
src/server/simple-cache.c
src/server/simple-cache.c
+4
-2
No files found.
src/server/simple-cache.c
View file @
94fc7c42
/*
* $Id: simple-cache.c,v 0.8
7 1999/07/11 23:41:33
ceder Exp $
* $Id: simple-cache.c,v 0.8
8 1999/07/23 13:02:02
ceder Exp $
* Copyright (C) 1991-1999 Lysator Academic Computer Association.
*
* This file is part of the LysKOM server.
...
...
@@ -40,7 +40,7 @@
#endif
static
const
char
*
rcsid
=
"$Id: simple-cache.c,v 0.8
7 1999/07/11 23:41:33
ceder Exp $"
;
rcsid
=
"$Id: simple-cache.c,v 0.8
8 1999/07/23 13:02:02
ceder Exp $"
;
#include "rcs.h"
USE
(
rcsid
);
...
...
@@ -1533,6 +1533,8 @@ cached_lookup_name(const String name,
for
(
i
=
0
;
i
<
no_of_match_info
;
i
++
)
{
if
(
s_empty
(
match_table
[
i
].
name
))
continue
;
result
->
conf_nos
[
i
]
=
match_table
[
i
].
conf_no
;
result
->
type_of_conf
[
i
]
=
small_conf_arr
[
match_table
[
i
].
conf_no
]
->
type
;
}
...
...
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