From 5b7aa9e2340bd47656b8b98d44ca699a85b7ead7 Mon Sep 17 00:00:00 2001 From: brisk Date: Wed, 21 May 2014 22:45:25 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E7=94=B1=E4=BA=8E=E8=B7=B3?= =?UTF-8?q?=E8=B7=83=E5=88=B0=E4=B8=80=E4=B8=8B=E8=A1=8C=E5=BC=95=E8=B5=B7?= =?UTF-8?q?=E7=9A=84=E8=AF=BB=E5=8F=96=E9=94=99=E8=AF=AFbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/conf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)