[OpenSIPS-Devel] [OpenSIPS/opensips] 81523d: o Simplify str2const() using the fact that struct ...
Maksym Sobolyev
noreply at github.com
Mon Jan 25 16:26:52 EST 2021
Branch: refs/heads/master
Home: https://github.com/OpenSIPS/opensips
Commit: 81523d0c6c26c13bda3396d8807343a2e9f5db22
https://github.com/OpenSIPS/opensips/commit/81523d0c6c26c13bda3396d8807343a2e9f5db22
Author: Maksym Sobolyev <sobomax at sippysoft.com>
Date: 2021-01-25 (Mon, 25 Jan 2021)
Changed paths:
M str.h
Log Message:
-----------
o Simplify str2const() using the fact that struct __str and struct
__str_const have the same structure. Make sure that
(void *)str2const(p) == (void *)p.
o Check that argument of str2const() is either str * or const str *.
Commit: 87b9286fb8a052dda0319c31df8bd034fe150880
https://github.com/OpenSIPS/opensips/commit/87b9286fb8a052dda0319c31df8bd034fe150880
Author: Maksym Sobolyev <sobomax at sippysoft.com>
Date: 2021-01-25 (Mon, 25 Jan 2021)
Changed paths:
M modules/b2b_entities/client.c
M modules/cachedb_local/hash.c
M modules/dialog/dlg_hash.h
M modules/emergency/emergency_methods.c
M modules/emergency/http_emergency.c
M modules/emergency/notifier_emergency.c
M modules/emergency/subscriber_emergency.c
M modules/nathelper/sip_pinger.h
M modules/permissions/hash.c
M modules/presence/hash.c
M modules/presence_callinfo/sca_hash.c
M modules/rate_cacher/rate_cacher.c
M modules/uac_auth/auth.c
M modules/usrloc/udomain.c
M modules/usrloc/urecord.c
M statistics.c
Log Message:
-----------
Use core_hash(x, NULL, y), not core_hash(x, 0, y).
Compare: https://github.com/OpenSIPS/opensips/compare/8fcb97e4f39f...87b9286fb8a0
More information about the Devel
mailing list