[OpenSIPS-Devel] [OpenSIPS/opensips] eea215: sipmsgops: Fix ruri_del_param() return value on su...

Liviu Chircu noreply at github.com
Wed Oct 12 11:24:04 UTC 2022


  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: eea215278c479a22434aefd651c95b2ad777ecc1
      https://github.com/OpenSIPS/opensips/commit/eea215278c479a22434aefd651c95b2ad777ecc1
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2022-10-12 (Wed, 12 Oct 2022)

  Changed paths:
    M modules/sipmsgops/doc/sipmsgops_admin.xml
    M modules/sipmsgops/uri.c

  Log Message:
  -----------
  sipmsgops: Fix ruri_del_param() return value on success

The issue was that set_ruri() actually returns 0/-1, not 1/0 as the
developer expected.

Also update docs to reflect the function's return code meaning.





More information about the Devel mailing list