Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Xiph.Org
Icecast-Server
Commits
d5746470
Commit
d5746470
authored
Mar 31, 2006
by
Karl Heyes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
off by 1 error, although not triggered by icecast/ices
svn path=/icecast/trunk/log/; revision=11073
parent
e00aafda
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/log/log.c
src/log/log.c
+1
-1
No files found.
src/log/log.c
View file @
d5746470
...
...
@@ -392,7 +392,7 @@ void log_contents (int log_id, char **_contents, unsigned int *_len)
char
*
ptr
;
if
(
log_id
<
0
)
return
;
if
(
log_id
>
LOG_MAXLOGS
)
return
;
/* Bad log number */
if
(
log_id
>
=
LOG_MAXLOGS
)
return
;
/* Bad log number */
_lock_logger
();
remain
=
loglist
[
log_id
].
total
+
1
;
...
...
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