diff options
author | Tai Vuong <tvuong@audiokinetic.com> | 2017-11-07 23:55:32 -0500 |
---|---|---|
committer | Tai Vuong <tvuong@audiokinetic.com> | 2017-11-07 23:55:32 -0500 |
commit | b4049e48c1b1ff7ce1e412b7b86a1172de03951b (patch) | |
tree | bb6b2392e0eb05aac247510c542837ad4d4ebf1d /ahl-utilities/ahl-policy-utils.c | |
parent | 62d1562669676641613f31f9949008b73d56b458 (diff) |
API change, set mute is now an integer instead of string, fix memory leak, remove property value not implemented
Diffstat (limited to 'ahl-utilities/ahl-policy-utils.c')
-rwxr-xr-x | ahl-utilities/ahl-policy-utils.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/ahl-utilities/ahl-policy-utils.c b/ahl-utilities/ahl-policy-utils.c index 195c591..41e203e 100755 --- a/ahl-utilities/ahl-policy-utils.c +++ b/ahl-utilities/ahl-policy-utils.c @@ -164,11 +164,10 @@ int JSONToStream(json_object *pStreamJ, StreamInterfaceInfoT * pStream) { AFB_ERROR("Invalid arguments for InterfaceCtxJSONToStream"); return AHL_POLICY_UTIL_FAIL; - } + } //Unpack StreamInfo - json_object *pEndpointJ = NULL; - AFB_WARNING("json object query=%s", json_object_get_string(pStreamJ)); + json_object *pEndpointJ = NULL; int err = wrap_json_unpack(pStreamJ, "{s:i,s:i,s:i,s:s,s:i,s:i,s:o}", "stream_id", &pStream->streamID, "stream_state", &pStream->streamState, |