diff options
author | FreeArtMan <dos21h@gmail.com> | 2019-05-12 15:47:50 +0100 |
---|---|---|
committer | FreeArtMan <dos21h@gmail.com> | 2019-05-12 15:47:50 +0100 |
commit | e02f131fdec629a043471962d7137ed929b2a6a1 (patch) | |
tree | 07a8901e11f781d27767c6af43ff9e3979bf7827 /buf_misc.c | |
parent | 709c4bd0e02a0dcb609b841053da9624f41440cc (diff) | |
download | libbuf-e02f131fdec629a043471962d7137ed929b2a6a1.tar.gz libbuf-e02f131fdec629a043471962d7137ed929b2a6a1.zip |
Cleanup from debug output
Diffstat (limited to 'buf_misc.c')
-rw-r--r-- | buf_misc.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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; |