commit | 2ab4a91f43124b6792388bf3024c3f5bb3cdb6fb | [log] [tgz] |
---|---|---|
author | Jesus Cea <jcea@jcea.es> | Mon Jan 16 23:57:34 2012 +0100 |
committer | Jesus Cea <jcea@jcea.es> | Mon Jan 16 23:57:34 2012 +0100 |
tree | 075e12f7611f33056811c07b73b925d796a1ee0d | |
parent | 6008a8b5ba845a0d85125cea33aaa80b0404dd0f [diff] [blame] |
Berkeley DB: Erratic behaviour of "DBEnv->rep_elect()" because a typo
diff --git a/Modules/_bsddb.c b/Modules/_bsddb.c index d99df4b..83f298f 100644 --- a/Modules/_bsddb.c +++ b/Modules/_bsddb.c
@@ -7257,7 +7257,7 @@ } CHECK_ENV_NOT_CLOSED(self); MYDB_BEGIN_ALLOW_THREADS; - err = self->db_env->rep_elect(self->db_env, nvotes, nvotes, 0); + err = self->db_env->rep_elect(self->db_env, nsites, nvotes, 0); MYDB_END_ALLOW_THREADS; RETURN_IF_ERR(); RETURN_NONE();