1
0
mirror of https://gitlab.xiph.org/xiph/icecast-common.git synced 2024-06-16 06:15:24 +00:00

corrected logic checking argument. Thanks to David Binderman for reporting

svn path=/icecast/trunk/log/; revision=18961
This commit is contained in:
Philipp Schafft 2013-07-04 12:31:17 +00:00
parent ad1543557e
commit e9496a4e9c

View File

@ -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)
{