Minor fixes to res_json and test_json.
authorDavid M. Lee <dlee@digium.com>
Mon, 11 Feb 2013 20:39:11 +0000 (20:39 +0000)
committerDavid M. Lee <dlee@digium.com>
Mon, 11 Feb 2013 20:39:11 +0000 (20:39 +0000)
commitf2b9c12704136fdc5d4e71c63d104e6debd77320
treeedba96f734f7893b12fec8ea7295b0d40effbf31
parent98ef0d321529a7c7420e8c8c755b6b8a5bc55c09
Minor fixes to res_json and test_json.

* Made input checking more consistent with other Asterisk code
* Added validation to ast_json_dump_new_file
* Fixed tests for ownereship semantics

(issue ASTERISK-20887)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@381214 65c4cc65-6c06-0410-ace0-fbb531ad65f3
res/res_json.c
tests/test_json.c