[gupnp] ProxyAction: Propagate error from soup call



commit c17fb21a137ddc44f032d42289e6e8d231371eae
Author: Jens Georg <mail jensge org>
Date:   Sun Jan 16 14:11:58 2022 +0100

    ProxyAction: Propagate error from soup call

 libgupnp/gupnp-service-proxy.c | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/libgupnp/gupnp-service-proxy.c b/libgupnp/gupnp-service-proxy.c
index a15324e..cee572d 100644
--- a/libgupnp/gupnp-service-proxy.c
+++ b/libgupnp/gupnp-service-proxy.c
@@ -431,6 +431,7 @@ action_task_got_response (GObject *source,
 
 
         if (error != NULL) {
+                action->error = g_error_copy (error);
                 g_task_return_error (task, error);
                 g_object_unref (task);
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]