mirror of
https://gitlab.xiph.org/xiph/icecast-server.git
synced 2025-02-02 15:07:36 -05:00
corrected logic checking argument. Thanks to David Binderman for reporting
svn path=/icecast/trunk/log/; revision=18961
This commit is contained in:
parent
cc3c6ebf14
commit
917ace89da
@ -298,7 +298,7 @@ void log_flush(int log_id)
|
||||
|
||||
void log_reopen(int log_id)
|
||||
{
|
||||
if (log_id < 0 && log_id >= LOG_MAXLOGS)
|
||||
if (log_id < 0 || log_id >= LOG_MAXLOGS)
|
||||
return;
|
||||
if (loglist [log_id] . filename && loglist [log_id] . logfile)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user