On 05/30/2017 06:18 AM, Juan Quintela wrote: > Vladislav Yasevich <vyase...@redhat.com> wrote: >> Add HMP command to control and read annoucment parameters. >> >> Signed-off-by: Vladislav Yasevich <vyase...@redhat.com> > > Reviewed-by: Juan Quintela <quint...@redhat.com> > > >> + cleanup: >> + if (err) { >> + error_report_err(err); >> + } >> +} > > > My understanding is that this the "cool way" to spell this nowadays is: > > hmp_handle_error(mon, &err); > > Just in case you want to change it. >
Thanks. I must have used an older function as base. I'll check it out. -vlad