mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-07 22:05:25 +00:00
The default return code for pjsip_find_msg was PJ_SUCCESS so if a Content-Length header wasn't found at all, pjsip_find_msg was returning PJ_SUCCESS instead of PJSIP_EMISSINGHDR. Also added the volatile keyword to a few variables that are used both inside and outside the PJ_TRY/PJ_CATCH block. Partial fix for ASTERISK_27408 Change-Id: If82ba9de921e3d57df9c68cf96ee45ccc1491f7a
The 0000-* patches in this directory should not be removed or reordered when upgrading to a new version of pjproject. They MAY need to be updated to apply cleanly however. New patches should be numbered in ascending order with no duplicates. Leave 10 slots open after the last patch to allow others to be inserted.