[gnome-commander] src/gnome-cmd-xfer.cc: Use currently unused return value of gnome_vfs_async_xfer
- From: Uwe Scholz <uwescholz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-commander] src/gnome-cmd-xfer.cc: Use currently unused return value of gnome_vfs_async_xfer
- Date: Fri, 28 Apr 2017 21:43:58 +0000 (UTC)
commit ed8c6a09b344b740c432ddc910fbbe4f178c4971
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]