Commit 0d013609 authored by Howard Chu's avatar Howard Chu
Browse files

Fix lineno count

parent c05f45b7
......@@ -150,6 +150,7 @@ static int readline(MDB_val *out, MDB_val *buf)
return EOF;
}
if (c != ' ') {
lineno++;
if (fgets(buf->mv_data, buf->mv_size, stdin) == NULL) {
badend:
eof = 1;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment