@miconda commented on this pull request.


In src/modules/dmq_usrloc/usrloc_sync.c:

> @@ -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, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <kamailio/kamailio/pull/3679/review/1792886476@github.com>