diff --git a/src/util/misc.c b/src/util/misc.c index 5f88272..1273b39 100644 --- a/src/util/misc.c +++ b/src/util/misc.c @@ -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;