@miconda commented on this pull request.
> @@ -825,6 +837,16 @@ int usrloc_dmq_send_contact(
srjson_AddNumberToObject(&jdoc, jdoc.root, "reg_id", ptr->reg_id);
srjson_AddNumberToObject(&jdoc, jdoc.root, "server_id", ptr->server_id);
+ /* Loop through Χavp attributes of the contact and and create a json
object */
+ srjson_t *jdoc_xavp = srjson_CreateObject(&jdoc);
Variable should be declared at the beginning of the block to be coherent and
also keep compliant with older C standards.
--
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/3679#pullrequestreview-1792886476
You are receiving this because you are subscribed to this thread.
Message ID: <kamailio/kamailio/pull/3679/review/1792886...@github.com>
_______________________________________________
Kamailio (SER) - Development Mailing List
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org