[gnome-commander/ConvertWarningsToErrors] src/gnome-cmd-xfer.cc: Use currently unused return value of gnome_vfs_async_xfer



commit 7186c78fe4d3d9727886596e6a81216595d78f1f
Author: Uwe Scholz <uwescholz src gnome org>
Date:   Mon Apr 24 22:46:27 2017 +0200

    src/gnome-cmd-xfer.cc: Use currently unused return value of gnome_vfs_async_xfer

 src/gnome-cmd-xfer.cc |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/src/gnome-cmd-xfer.cc b/src/gnome-cmd-xfer.cc
index a00e15f..203e7ef 100644
--- a/src/gnome-cmd-xfer.cc
+++ b/src/gnome-cmd-xfer.cc
@@ -552,6 +552,10 @@ gnome_cmd_xfer_tmp_download_multiple (GList *src_uri_list,
                                    XFER_PRIORITY,
                                    (GnomeVFSAsyncXferProgressCallback) async_xfer_callback, data,
                                    NULL, NULL);
+    if (result != GNOME_VFS_OK)
+    {
+        DEBUG ('x', "Downloading could not be started properly as of wrong arguments in 
gnome_vfs_async_xfer()\n");
+    }
 
     g_timeout_add (gnome_cmd_data.gui_update_rate, (GSourceFunc) update_xfer_gui_func, data);
 }


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