diff options
author | Jesus Cea <jcea@jcea.es> | 2012-01-16 22:57:34 (GMT) |
---|---|---|
committer | Jesus Cea <jcea@jcea.es> | 2012-01-16 22:57:34 (GMT) |
commit | 2ab4a91f43124b6792388bf3024c3f5bb3cdb6fb (patch) | |
tree | 075e12f7611f33056811c07b73b925d796a1ee0d /Modules/_bsddb.c | |
parent | 6008a8b5ba845a0d85125cea33aaa80b0404dd0f (diff) | |
download | cpython-2ab4a91f43124b6792388bf3024c3f5bb3cdb6fb.zip cpython-2ab4a91f43124b6792388bf3024c3f5bb3cdb6fb.tar.gz cpython-2ab4a91f43124b6792388bf3024c3f5bb3cdb6fb.tar.bz2 |
Berkeley DB: Erratic behaviour of "DBEnv->rep_elect()" because a typo
Diffstat (limited to 'Modules/_bsddb.c')
-rw-r--r-- | Modules/_bsddb.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 @@ DBEnv_rep_elect(DBEnvObject* self, PyObject* args) } 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(); |