Since 1.5.0 mongoc_collection_find() is deprecated
http://mongoc.org/libmongoc/1.5.0/mongoc_collection_find.html
https://travis-ci.org/kamailio/kamailio/jobs/365964042 (dev-sid)
CC (clang) [M ndb_mongodb.so] mongodb_client.o mongodb_client.c:290:18: warning: 'mongoc_collection_find' is deprecated [-Wdeprecated-declarations] rpl->cursor = mongoc_collection_find (rpl->collection, ^ /usr/include/libmongoc-1.0/mongoc-collection.h:155:1: note: 'mongoc_collection_find' has been explicitly marked deprecated here mongoc_collection_find (mongoc_collection_t *collection, ^ 1 warning generated.
You can view, comment on, or merge this pull request online at:
https://github.com/kamailio/kamailio/pull/1499
-- Commit Summary --
* ndb_mongodb: fix deprecation warning
-- File Changes --
M src/modules/ndb_mongodb/mongodb_client.c (21)
-- Patch Links --
https://github.com/kamailio/kamailio/pull/1499.patch https://github.com/kamailio/kamailio/pull/1499.diff
Thanks! It can be merged.
Merged #1499.