Skip to content
GitLab
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
78f9b838
Commit
78f9b838
authored
Nov 06, 2002
by
Per Cederqvist
Browse files
(insert_loc_no): Fixed a memory access error introduced in last commit.
parent
9a54b2e2
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/server/membership.c
View file @
78f9b838
/*
* $Id: membership.c,v 0.7
3
2002/11/06 1
8
:4
0:28
ceder Exp $
* $Id: membership.c,v 0.7
4
2002/11/06 1
9
:4
6:17
ceder Exp $
* Copyright (C) 1991-2002 Lysator Academic Computer Association.
*
* This file is part of the LysKOM server.
...
...
@@ -580,7 +580,7 @@ insert_loc_no(Local_text_no text,
if
(
text
==
lo
->
last_read
+
1
)
{
if
(
lo
!=
end
&&
(
lo
+
1
)
->
first_read
==
text
)
if
(
lo
!=
end
&&
lo
+
1
!=
end
&&
(
lo
+
1
)
->
first_read
==
text
)
return
FAILURE
;
/* This text was already read. */
lo
->
last_read
=
text
;
return
OK
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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