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
a961150d
Commit
a961150d
authored
Jun 23, 1999
by
David Byers
Browse files
Bug fix: Initialize all person scratchpad pointers to NULL.
parent
3ae357ed
Changes
2
Hide whitespace changes
Inline
Side-by-side
ChangeLog
View file @
a961150d
1999-06-23 David Byers <davby@ida.liu.se>
* src/server/dbck.c (init_person_scratch): Initialize person
scratchpad entries to NULL.
1999-06-21 Per Cederqvist <ceder@lysator.liu.se>
Fix the test suite.
...
...
src/server/dbck.c
View file @
a961150d
/*
* $Id: dbck.c,v 0.5
4
1999/06/
05 20:48:44 ced
er Exp $
* $Id: dbck.c,v 0.5
5
1999/06/
23 13:31:40 by
er
s
Exp $
* Copyright (C) 1991-1999 Lysator Academic Computer Association.
*
* This file is part of the LysKOM server.
...
...
@@ -35,7 +35,7 @@
static
const
char
*
rcsid
=
"$Id: dbck.c,v 0.5
4
1999/06/
05 20:48:44 ced
er Exp $"
;
rcsid
=
"$Id: dbck.c,v 0.5
5
1999/06/
23 13:31:40 by
er
s
Exp $"
;
#include
"rcs.h"
USE
(
rcsid
);
...
...
@@ -1337,10 +1337,13 @@ static void
init_person_scratch
(
void
)
{
Pers_no
pno
=
0
;
Pers_no
i
=
0
;
if
(
person_scratchpad
==
NULL
)
{
person_scratchpad
=
smalloc
(
sizeof
(
*
person_scratchpad
)
*
param
.
max_conf
);
for
(
i
=
0
;
i
<
param
.
max_conf
;
i
++
)
person_scratchpad
[
i
]
=
NULL
;
}
while
(
(
pno
=
traverse_person
(
pno
))
!=
0
)
...
...
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