Displaying 1 result from an estimated 1 matches for "log_maxlogs".
2013 Jun 28
1
version 2.3.3, file log.c bug report
...tatic analysis checker "cppcheck" over the source code
of icecast version 2.3.3
Amongst many other things, it said
[log.c:301]: (warning) Logical conjunction always evaluates to false: log_id < 0 && log_id>= 25.
Source code is
??? if (log_id < 0 && log_id>= LOG_MAXLOGS)
??????? return;
Suggest replace && with ||.
Regards
David Binderman