improve debug

This commit is contained in:
Wim Taymans 2020-04-06 18:01:19 +02:00
parent c658574c01
commit 7febf7ea25
6 changed files with 16 additions and 4 deletions

View file

@ -37,6 +37,7 @@ static void on_success(pa_operation *o, void *userdata)
{
struct success_ack *d = userdata;
pa_context *c = o->context;
pw_log_debug("error:%d", d->error);
if (d->error != 0)
pa_context_set_error(c, d->error);
if (d->cb)