fixed hardcoded constant in error message
This commit is contained in:
parent
0772bb83e9
commit
0b6f15b174
1 changed files with 2 additions and 1 deletions
|
@ -1407,7 +1407,8 @@ void get_variable_internal(const std::string& key, config& cfg,
|
|||
const std::string index_str(index_start+1,index_end);
|
||||
index = size_t(atoi(index_str.c_str()));
|
||||
if(index > MaxLoop) {
|
||||
LOG_NG << "get_variable_internal: index greater than 1024, truncated\n";
|
||||
LOG_NG << "get_variable_internal: index greater than " << MaxLoop
|
||||
<< ", truncated\n";
|
||||
index = MaxLoop;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue