Fix problem parsing configuration file if the last line is not empty

This commit is contained in:
Jan Vidar Krey 2010-01-26 16:16:41 +01:00
parent dfa6d07455
commit 2d7ffa37fe

View File

@ -225,7 +225,6 @@ int file_read_lines(const char* file, void* data, file_line_handler_t handler)
if (*start)
{
buf[strlen(start)] = 0;
LOG_DUMP("Line: %s", start);
if (handler(start, line_count+1, data) < 0)
return -1;