Merge pull request #827 from xd0419/master

edit mongodb moudle error
This commit is contained in:
van Hauser 2023-03-02 14:50:43 +01:00 committed by GitHub
commit bae8fc40c0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -97,11 +97,11 @@ int32_t start_mongodb(int32_t s, char *ip, int32_t port, unsigned char options,
mongoc_collection_destroy(collection); mongoc_collection_destroy(collection);
mongoc_client_destroy(client); mongoc_client_destroy(client);
mongoc_cleanup(); mongoc_cleanup();
hydra_completed_pair_skip(); hydra_completed_pair();
if (memcmp(hydra_get_next_pair(), &HYDRA_EXIT, sizeof(HYDRA_EXIT)) == 0) { if (memcmp(hydra_get_next_pair(), &HYDRA_EXIT, sizeof(HYDRA_EXIT)) == 0) {
return 3; return 3;
} }
return 2; return 1;
} }
} }