[OpenSIPS-Devel] [OpenSIPS/opensips] d58855: Prefer CON_SET_CURR_PS over CON_PS_REFERENCE

Răzvan Crainea noreply at github.com
Wed Apr 21 16:31:41 EST 2021


  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: d5885552f024c090935e801cb5b451664afc4254
      https://github.com/OpenSIPS/opensips/commit/d5885552f024c090935e801cb5b451664afc4254
  Author: Walter Doekes <walter+github at wjd.nu>
  Date:   2021-04-13 (Tue, 13 Apr 2021)

  Changed paths:
    M db/db_insertq.c
    M db/db_ps.h
    M modules/acc/acc.c
    M modules/alias_db/alookup.c
    M modules/auth_db/authorize.c
    M modules/auth_db/checks.c
    M modules/call_center/cc_db.c
    M modules/dialog/dlg_db_handler.c
    M modules/drouting/drouting.c
    M modules/emergency/report_emergency.c
    M modules/group/group.c
    M modules/presence/notify.c
    M modules/presence/presence.c
    M modules/presence/presentity.c
    M modules/presence/publish.c
    M modules/presence/subscribe.c
    M modules/sipcapture/sipcapture.c
    M modules/speeddial/sdlookup.c
    M modules/sql_cacher/sql_cacher.c
    M modules/tracer/tracer.c
    M modules/usrloc/ucontact.c
    M modules/usrloc/udomain.c
    M modules/usrloc/ul_mi.c
    M modules/usrloc/urecord.c

  Log Message:
  -----------
  Prefer CON_SET_CURR_PS over CON_PS_REFERENCE

They were used in the same fashion. And as the Zen of Python teaches us:

  There should be one-- and preferably only one --obvious way to do it.

(See also discussion at 57caa6c03.)


  Commit: 386802a1f75065b513d537a04d8016a2c82c8138
      https://github.com/OpenSIPS/opensips/commit/386802a1f75065b513d537a04d8016a2c82c8138
  Author: Răzvan Crainea <razvan at opensips.org>
  Date:   2021-04-21 (Wed, 21 Apr 2021)

  Changed paths:
    M db/db_insertq.c
    M db/db_ps.h
    M modules/acc/acc.c
    M modules/alias_db/alookup.c
    M modules/auth_db/authorize.c
    M modules/auth_db/checks.c
    M modules/call_center/cc_db.c
    M modules/dialog/dlg_db_handler.c
    M modules/drouting/drouting.c
    M modules/emergency/report_emergency.c
    M modules/group/group.c
    M modules/presence/notify.c
    M modules/presence/presence.c
    M modules/presence/presentity.c
    M modules/presence/publish.c
    M modules/presence/subscribe.c
    M modules/sipcapture/sipcapture.c
    M modules/speeddial/sdlookup.c
    M modules/sql_cacher/sql_cacher.c
    M modules/tracer/tracer.c
    M modules/usrloc/ucontact.c
    M modules/usrloc/udomain.c
    M modules/usrloc/ul_mi.c
    M modules/usrloc/urecord.c

  Log Message:
  -----------
  Merge pull request #2468 from wdoekes/con-ps-reference-cleanup

Prefer CON_SET_CURR_PS over CON_PS_REFERENCE


Compare: https://github.com/OpenSIPS/opensips/compare/2515c7499db6...386802a1f750



More information about the Devel mailing list