Module: kamailio Branch: master Commit: bb604e272dd034abfc0fe8dcbdfc0102cbbc8a40 URL: https://github.com/kamailio/kamailio/commit/bb604e272dd034abfc0fe8dcbdfc0102cbbc8a40
Author: Daniel-Constantin Mierla <[email protected]> Committer: Daniel-Constantin Mierla <[email protected]> Date: 2025-12-12T15:40:16+01:00 tm: rename parameter that hides a global --- Modified: src/modules/tm/h_table.c --- Diff: https://github.com/kamailio/kamailio/commit/bb604e272dd034abfc0fe8dcbdfc0102cbbc8a40.diff Patch: https://github.com/kamailio/kamailio/commit/bb604e272dd034abfc0fe8dcbdfc0102cbbc8a40.patch --- diff --git a/src/modules/tm/h_table.c b/src/modules/tm/h_table.c index 632303b6701..81cfb4a125b 100644 --- a/src/modules/tm/h_table.c +++ b/src/modules/tm/h_table.c @@ -275,7 +275,7 @@ void free_cell_helper( } -static inline void init_synonym_id(struct sip_msg *p_msg, char *hash) +static inline void init_synonym_id(struct sip_msg *p_msg, char *hashval) { int size; char *c; @@ -286,7 +286,7 @@ static inline void init_synonym_id(struct sip_msg *p_msg, char *hash) * calculated out of header-fields forming * transaction key */ - char_msg_val(p_msg, hash); + char_msg_val(p_msg, hashval); } else { /* char value for a UAC transaction is created * randomly -- UAC is an originating stateful element @@ -295,7 +295,7 @@ static inline void init_synonym_id(struct sip_msg *p_msg, char *hash) */ /* HACK : not long enough */ myrand = kam_rand(); - c = hash; + c = hashval; size = MD5_LEN; memset(c, '0', size); int2reverse_hex(&c, &size, myrand); _______________________________________________ Kamailio - Development Mailing List -- [email protected] To unsubscribe send an email to [email protected] Important: keep the mailing list in the recipients, do not reply only to the sender!
