Commit ec788189 authored by Simon Morlat's avatar Simon Morlat
Browse files

Fix bad boolean value returned by linphone_payload_type_enabled()

parent 2e210681
......@@ -324,5 +324,5 @@ void payload_type_set_enable(OrtpPayloadType *pt, bool_t value) {
bool_t payload_type_enabled(const OrtpPayloadType *pt) {
return (pt->flags & PAYLOAD_TYPE_ENABLED);
return !!(pt->flags & PAYLOAD_TYPE_ENABLED);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment