Fix a problem regarding network vs. host byte order
authorMark Michelson <mmichelson@digium.com>
Mon, 11 Feb 2008 02:47:25 +0000 (02:47 +0000)
committerMark Michelson <mmichelson@digium.com>
Mon, 11 Feb 2008 02:47:25 +0000 (02:47 +0000)
commit9d683be81a93ca644008bb3ae83707aaaf24f871
tree19b75a953b9e0497df512203f3fdc8f3dff2b362
parent4dccb58fb7f8fd8a2a0e5dba0f4d58b39c277022
Fix a problem regarding network vs. host byte order
in the event API.

ast_event_iterator_get_ie_type should return the ie type in
host byte order. Furthermore, ast_event_get_ie_raw should already
have its ie type argument in host byte order since it could be called
externally (and it in fact is called in this way by ast_event_get_cached).

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@103282 65c4cc65-6c06-0410-ace0-fbb531ad65f3
main/event.c