diff --git a/src/conf.c b/src/conf.c index 3e2cdcb..67d630a 100644 --- a/src/conf.c +++ b/src/conf.c @@ -405,7 +405,7 @@ int next_line(char *data) while(data[i] != '\n') ++i; - return i; + return i-1; } void free_data(CONF_ARG *data)