[OpenSIPS-Devel] [OpenSIPS/opensips] e0d8d7: sipcapture: fix overlapping function name

Răzvan Crainea noreply at github.com
Tue Sep 29 15:13:28 EST 2020


  Branch: refs/heads/3.0
  Home:   https://github.com/OpenSIPS/opensips
  Commit: e0d8d73d2c9819a09f581dde5dc9ab0cd2c99da0
      https://github.com/OpenSIPS/opensips/commit/e0d8d73d2c9819a09f581dde5dc9ab0cd2c99da0
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2020-09-29 (Tue, 29 Sep 2020)

  Changed paths:
    M modules/sipcapture/sipcapture.c
    M net/trans_trace.c

  Log Message:
  -----------
  sipcapture: fix overlapping function name

the build_dummy_msg() function being used without the static identifier
causes confusion for some compilers. An example is the AL2 compiler,
which instead of using the module's implementation, it uses the core's
one, hence resulting in broken behavior.

Credit goes to @ghmj2417 (GitHub) for reporting this in ticket #2255
Close #2255

(cherry picked from commit 7ba72d434aee3db949c351a46970122f41a7c50a)





More information about the Devel mailing list