From: Howard Chu Date: Fri, 20 Jun 2014 16:03:41 +0000 (-0700) Subject: Fix lineno count X-Git-Tag: OPENLDAP_REL_ENG_2_4_40~128^2~11 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=0d013609fe754dd065faf77297d8d5b1c93bb672;p=openldap Fix lineno count --- diff --git a/libraries/liblmdb/mdb_load.c b/libraries/liblmdb/mdb_load.c index 326e8e78a7..8ac21d41fd 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;