[OpenSIPS-Devel] [OpenSIPS/opensips] 9f7ce7: error.h: add a bug reporting function
Liviu Chircu
liviu at opensips.org
Wed Apr 16 12:16:44 CEST 2014
Branch: refs/heads/master
Home: https://github.com/OpenSIPS/opensips
Commit: 9f7ce76403a5ef5db8e9ac8da355d4955059af55
https://github.com/OpenSIPS/opensips/commit/9f7ce76403a5ef5db8e9ac8da355d4955059af55
Author: Liviu Chircu <liviu at opensips.org>
Date: 2014-04-16 (Wed, 16 Apr 2014)
Changed paths:
M error.h
M msg_translator.c
Log Message:
-----------
error.h: add a bug reporting function
Motivation:
* it seems it can be reused quite a lot
Examples:
* report_programming_bug("invalid pointer: %p", p);
* report_programming_bug("we should not process BYEs here!");
Commit: 6f83e15bba66ca1d1f1437fb5afb1ad25a49c430
https://github.com/OpenSIPS/opensips/commit/6f83e15bba66ca1d1f1437fb5afb1ad25a49c430
Author: Liviu Chircu <liviu at opensips.org>
Date: 2014-04-16 (Wed, 16 Apr 2014)
Changed paths:
M msg_translator.c
Log Message:
-----------
lumps processing: a couple of performance optimizations
Since we can only have LUMP_DEL or LUMP_NOP along the main lump chain,
reordering the switch statements will improve code performance.
This patch also enhances code readability and improves error reporting.
Commit: 3adf6a9c01796436cd962e4ce24e989c7c75fc31
https://github.com/OpenSIPS/opensips/commit/3adf6a9c01796436cd962e4ce24e989c7c75fc31
Author: Liviu Chircu <liviu at opensips.org>
Date: 2014-04-16 (Wed, 16 Apr 2014)
Changed paths:
M data_lump.c
M data_lump.h
Log Message:
-----------
data_lump.h: explicitly warn about some broken logic
Currently, append_new_lump() and insert_new_lump() are not used at all.
Moreover, it seems they would not work anyway.
Compare: https://github.com/OpenSIPS/opensips/compare/f9d9654e6df6...3adf6a9c0179
More information about the Devel
mailing list