]> git.ipfire.org Git - thirdparty/asterisk.git/commit
frame.c: Make debugging easier
authorGeorge Joseph <gjoseph@digium.com>
Mon, 6 Jul 2020 15:57:18 +0000 (09:57 -0600)
committerFriendly Automation <jenkins2@gerrit.asterisk.org>
Tue, 7 Jul 2020 20:02:45 +0000 (15:02 -0500)
commitfdcb3e2ead11243cd8becb2a9778a4fb4ac8b63c
tree7963ad87368ca9aa4aa761fc7a81b290333826a1
parentaf595e918e19d0ee7e310e86327b443d3380aaaa
frame.c:  Make debugging easier

 * ast_frame_subclass2str() and ast_frame_type2str() now return
   a pointer to the buffer that was passed in instead of void.
   This makes it easier to use these functions inline in
   printf-style debugging statements.

 * Added many missing control frame entries in
   ast_frame_subclass2str.

Change-Id: Ifd0d6578e758cd644c96d17a5383ff2128c572fc
include/asterisk/frame.h
main/frame.c