]> git.sur5r.net Git - openldap/commitdiff
Fix typo in Win32 branch
authorHoward Chu <hyc@symas.com>
Tue, 30 Jul 2013 20:44:28 +0000 (13:44 -0700)
committerHoward Chu <hyc@symas.com>
Tue, 30 Jul 2013 20:44:28 +0000 (13:44 -0700)
libraries/liblmdb/mdb.c

index 2a4bbeecc42ec31c325ab855361ad5c3806adcb6..72fdd06298db81c75ed74b6e5da2b926964b0982 100644 (file)
@@ -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);