diff --git a/libraries/liblmdb/mdb_load.c b/libraries/liblmdb/mdb_load.c index 326e8e7..8ac21d4 100644 --- a/libraries/liblmdb/mdb_load.c +++ b/libraries/liblmdb/mdb_load.c @@ -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;