summaryrefslogtreecommitdiff
path: root/src/upload/transfer.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/upload/transfer.c')
-rw-r--r--src/upload/transfer.c11
1 files changed, 8 insertions, 3 deletions
diff --git a/src/upload/transfer.c b/src/upload/transfer.c
index d493a3b..64e645b 100644
--- a/src/upload/transfer.c
+++ b/src/upload/transfer.c
@@ -44,15 +44,20 @@ get_transfer_progress_cb (GObject *object,
TrackTransferData *data;
guint64 total, length;
gchar *status;
+ GUPnPServiceProxyAction *action;
data = (TrackTransferData *) user_data;
error = NULL;
total = length = 0;
status = NULL;
- gupnp_service_proxy_call_action_finish (GUPNP_SERVICE_PROXY (object),
- result,
- &error);
+ action = gupnp_service_proxy_call_action_finish (
+ GUPNP_SERVICE_PROXY (object),
+ result,
+ &error);
+ if (error == NULL) {
+ gupnp_service_proxy_action_get_result (action, &error, NULL);
+ }
if (error != NULL) {
g_critical ("Failed to track file transfer: %s",
error->message);