Skip to content

Commit

Permalink
dialplan MI 'dp_show_partition': Indicate client-side errors
Browse files Browse the repository at this point in the history
  • Loading branch information
liviuchircu committed Jul 7, 2020
1 parent bb57cc1 commit 657a8b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/dialplan/dialplan.c
Expand Up @@ -778,7 +778,7 @@ static mi_response_t *mi_show_partition_1(const mi_params_t *params,

el = dp_get_connection(&part);
if (!el)
return 0;
return init_mi_error(404, MI_SSTR("Partition Not Found"));

resp = init_mi_result_object(&resp_obj);
if (!resp)
Expand Down

0 comments on commit 657a8b5

Please sign in to comment.