fixed hardcoded constant in error message

This commit is contained in:
Yann Dirson 2005-03-06 18:14:48 +00:00
parent 0772bb83e9
commit 0b6f15b174

View file

@ -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;
}