From: Howard Chu Date: Tue, 30 Jul 2013 20:44:28 +0000 (-0700) Subject: Fix typo in Win32 branch X-Git-Tag: OPENLDAP_REL_ENG_2_4_36~19^2 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=bc03467040550340f4b04f5f77dd0c741e5f4a2a;p=openldap Fix typo in Win32 branch --- diff --git a/libraries/liblmdb/mdb.c b/libraries/liblmdb/mdb.c index 2a4bbeecc4..72fdd06298 100644 --- a/libraries/liblmdb/mdb.c +++ b/libraries/liblmdb/mdb.c @@ -2980,7 +2980,7 @@ mdb_env_init_meta(MDB_env *env, MDB_meta *meta) OVERLAPPED ov; memset(&ov, 0, sizeof(ov)); rc = WriteFile(env->me_fd, p, psize * 2, &len, &ov); - rc = (len == psize * 2 ? MDB_SUCCESS : ErrCode(); + rc = (len == psize * 2) ? MDB_SUCCESS : ErrCode(); } #else rc = pwrite(env->me_fd, p, psize * 2, 0);