@petermarianF commented on this pull request.
@@ -261,6 +262,8 @@ static int mod_init(void) {
if (bind_usrloc(&ul) < 0) { return -1; } + if (ul.db_mode == DB_ONLY) + ul.register_ulcb_method(NULL, PCSCF_CONTACT_UPDATE, callback_pcscf_contact_cb, NULL);
Added return value check and abort on error