Skip to content

Commit

Permalink
[proto_msrp] Clear priorities in ternary operator
Browse files Browse the repository at this point in the history
Again, thanks CI !
  • Loading branch information
bogdan-iancu committed Mar 1, 2022
1 parent 0ee04a7 commit 2372238
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/proto_msrp/msrp_handler.c
Expand Up @@ -51,7 +51,7 @@ int register_req_handler( str *host_filter, int port_filter,
return -1;

hdl = pkg_malloc( sizeof(struct req_handler_filter) +
(host_filter && host_filter->len)?host_filter->len+1:0 );
((host_filter && host_filter->len)?host_filter->len+1:0) );
if (hdl==NULL) {
LM_ERR("pkg malloc failed for new req handler filter\n");
return -1;
Expand Down

0 comments on commit 2372238

Please sign in to comment.