Commit 917ace89 authored by Philipp Schafft's avatar Philipp Schafft 🦁

corrected logic checking argument. Thanks to David Binderman for reporting

svn path=/icecast/trunk/log/; revision=18961
parent cc3c6ebf
......@@ -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)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment