[OpenSIPS-Devel] [OpenSIPS/opensips] d21767: Improve LM_BUG() macro

Liviu Chircu liviu at opensips.org
Wed Dec 13 12:11:52 EST 2017


  Branch: refs/heads/feature/freeswitch-extended-integration
  Home:   https://github.com/OpenSIPS/opensips
  Commit: d21767e640130075e13a169c28e18efc84e35396
      https://github.com/OpenSIPS/opensips/commit/d21767e640130075e13a169c28e18efc84e35396
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-12-13 (Wed, 13 Dec 2017)

  Changed paths:
    M action.c
    M dprint.h
    M msg_translator.c

  Log Message:
  -----------
  Improve LM_BUG() macro

This allows syntax such as:

if (foo)
    LM_BUG("");
else
    bar;

We also drop the deprecated report_programming_bug() macro.




More information about the Devel mailing list