summaryrefslogtreecommitdiff
path: root/daemon/gvfsjobcopy.c
diff options
context:
space:
mode:
authorBenjamin Otte <otte@gnome.org>2009-07-20 17:13:50 +0200
committerBenjamin Otte <otte@gnome.org>2009-07-20 17:17:18 +0200
commit4255792153906238a67e4a4d748ba71b52d663be (patch)
treec8340ffa4a7c50f71bafbf41b70114f0c870563e /daemon/gvfsjobcopy.c
parentf64b26a5762659d9eb24ab79c4e64acc8d35ee8e (diff)
downloadgvfs-4255792153906238a67e4a4d748ba71b52d663be.tar.gz
Make debug output for progress callbacks really work with large files
Fixes omission of % in commit 66df9e764aed43b23b5c3326ff9ab024b0a49124
Diffstat (limited to 'daemon/gvfsjobcopy.c')
-rw-r--r--daemon/gvfsjobcopy.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/daemon/gvfsjobcopy.c b/daemon/gvfsjobcopy.c
index 60636eee..59bb693d 100644
--- a/daemon/gvfsjobcopy.c
+++ b/daemon/gvfsjobcopy.c
@@ -133,11 +133,11 @@ progress_callback (goffset current_num_bytes,
dbus_uint64_t current_dbus, total_dbus;
DBusMessage *message;
- g_debug ("progress_callback " G_GOFFSET_FORMAT "/" G_GOFFSET_FORMAT "\n", current_num_bytes, total_num_bytes);
+ g_debug ("progress_callback %" G_GOFFSET_FORMAT "/%" G_GOFFSET_FORMAT "\n", current_num_bytes, total_num_bytes);
if (op_job->callback_obj_path == NULL)
return;
-
+
message =
dbus_message_new_method_call (dbus_message_get_sender (dbus_job->message),
op_job->callback_obj_path,