Module: kamailio Branch: master Commit: 9187303af7689d435112f69fdbec45b7c5687351 URL: https://github.com/kamailio/kamailio/commit/9187303af7689d435112f69fdbec45b7c5687351
Author: Daniel-Constantin Mierla <mico...@gmail.com> Committer: Daniel-Constantin Mierla <mico...@gmail.com> Date: 2025-06-27T10:02:17+02:00 uac: small reformatting for reg_copy_shm() macro --- Modified: src/modules/uac/uac_reg.c --- Diff: https://github.com/kamailio/kamailio/commit/9187303af7689d435112f69fdbec45b7c5687351.diff Patch: https://github.com/kamailio/kamailio/commit/9187303af7689d435112f69fdbec45b7c5687351.patch --- diff --git a/src/modules/uac/uac_reg.c b/src/modules/uac/uac_reg.c index 9e0686e485d..b045b20e26d 100644 --- a/src/modules/uac/uac_reg.c +++ b/src/modules/uac/uac_reg.c @@ -439,7 +439,7 @@ int reg_ht_add_byuser(reg_uac_t *reg) (dst)->s[(dst)->len] = '\0'; \ p = p + ((bsize) != 0 ? (bsize) : (dst)->len) + 1; \ } \ - } while(0); + } while(0) /** * @@ -495,9 +495,9 @@ int reg_ht_add(reg_uac_t *reg) reg_copy_shm(&nr->auth_password, ®->auth_password, 0); reg_copy_shm(&nr->auth_ha1, ®->auth_ha1, 0); reg_copy_shm(&nr->socket, ®->socket, 0); - reg_copy_shm(&nr->contact_addr, ®->contact_addr, 0) - reg_copy_shm(&nr->callid, &str_empty, - reg_keep_callid ? UAC_REG_TM_CALLID_SIZE : 0); + reg_copy_shm(&nr->contact_addr, ®->contact_addr, 0); + reg_copy_shm(&nr->callid, &str_empty, + reg_keep_callid ? UAC_REG_TM_CALLID_SIZE : 0); for(i = 0; i < nr->auth_ha1.len; i++) { /* ha1 to lowercase */ _______________________________________________ Kamailio - Development Mailing List -- sr-dev@lists.kamailio.org To unsubscribe send an email to sr-dev-le...@lists.kamailio.org Important: keep the mailing list in the recipients, do not reply only to the sender!