From e02f131fdec629a043471962d7137ed929b2a6a1 Mon Sep 17 00:00:00 2001 From: FreeArtMan Date: Sun, 12 May 2019 15:47:50 +0100 Subject: Cleanup from debug output --- buf_misc.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'buf_misc.c') diff --git a/buf_misc.c b/buf_misc.c index b42e2e9..5fbcd63 100644 --- a/buf_misc.c +++ b/buf_misc.c @@ -94,8 +94,7 @@ int BufLine::pop_line(char **val, int *size) int idx; if (1 == buf->findc('\n',&idx)) { - printf("") - buf->popsubstring(4,val,size); + buf->popsubstring(idx+1,val,size); return 0; } return -1; -- cgit v1.2.3