diff options
author | Jens Georg <mail@jensge.org> | 2022-01-23 16:11:42 +0100 |
---|---|---|
committer | Jens Georg <mail@jensge.org> | 2022-01-23 16:11:42 +0100 |
commit | a23561d3e17f0d44aeda79495083220e95951aa8 (patch) | |
tree | b3e4aa4e82c67766e3aac5d078bee3ab195aefa3 | |
parent | ab7a596be3f17a06b6c7a1c3a4de775b81526c1c (diff) | |
download | gupnp-a23561d3e17f0d44aeda79495083220e95951aa8.tar.gz |
ServiceProxy: Fix error propagation in sync call
-rw-r--r-- | libgupnp/gupnp-service-proxy.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libgupnp/gupnp-service-proxy.c b/libgupnp/gupnp-service-proxy.c index a022619..031ab9e 100644 --- a/libgupnp/gupnp-service-proxy.c +++ b/libgupnp/gupnp-service-proxy.c @@ -1599,8 +1599,6 @@ gupnp_service_proxy_call_action (GUPnPServiceProxy *proxy, &internal_error); if (internal_error != NULL) { - g_propagate_error (error, internal_error); - goto out; } @@ -1623,6 +1621,7 @@ gupnp_service_proxy_call_action (GUPnPServiceProxy *proxy, out: if (internal_error != NULL) { + action->error = g_error_copy (internal_error); g_propagate_error (error, internal_error); return NULL; |