summaryrefslogtreecommitdiff
path: root/daemon/gvfsjobqueryinfowrite.c
diff options
context:
space:
mode:
authorOndrej Holy <oholy@redhat.com>2018-03-20 16:11:22 +0100
committerOndrej Holy <oholy@redhat.com>2018-03-20 16:16:31 +0100
commite9070ff78cc22945dcaeda9c4a0281dd75c5c0cf (patch)
tree492c355f8ae270f5bb57d13f97b06b790c2b6784 /daemon/gvfsjobqueryinfowrite.c
parent93067f4f904412ac556d84cbf516c325a32e5f7f (diff)
downloadgvfs-e9070ff78cc22945dcaeda9c4a0281dd75c5c0cf.tar.gz
job: Add missing send_reply debug messages
GVfsJobQueryInfoRead and GVfsJobQueryInfoWrite doesn't print debug info in send_reply as other jobs. Let's add the missing debug messages. https://bugzilla.gnome.org/show_bug.cgi?id=794487
Diffstat (limited to 'daemon/gvfsjobqueryinfowrite.c')
-rw-r--r--daemon/gvfsjobqueryinfowrite.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/daemon/gvfsjobqueryinfowrite.c b/daemon/gvfsjobqueryinfowrite.c
index 474cbfd6..0caf5389 100644
--- a/daemon/gvfsjobqueryinfowrite.c
+++ b/daemon/gvfsjobqueryinfowrite.c
@@ -100,7 +100,10 @@ static void
send_reply (GVfsJob *job)
{
GVfsJobQueryInfoWrite *op_job = G_VFS_JOB_QUERY_INFO_WRITE (job);
-
+
+ g_debug ("send_reply(%p), failed=%d (%s)\n", job, job->failed,
+ job->failed ? job->error->message : "");
+
if (job->failed)
g_vfs_channel_send_error (G_VFS_CHANNEL (op_job->channel), job->error);
else