[gvfs] afc: Add more debug when initialisation fails
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gvfs] afc: Add more debug when initialisation fails
- Date: Thu, 9 Jun 2016 10:00:28 +0000 (UTC)
commit 54658d0c811adbcbebe652316cd1a2cb7814648e
Author: Bastien Nocera <hadess hadess net>
Date: Wed Jun 8 15:49:42 2016 +0200
afc: Add more debug when initialisation fails
https://bugzilla.gnome.org/show_bug.cgi?id=767399
monitor/afc/afcvolume.c | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/monitor/afc/afcvolume.c b/monitor/afc/afcvolume.c
index e1731ee..545d1f4 100644
--- a/monitor/afc/afcvolume.c
+++ b/monitor/afc/afcvolume.c
@@ -140,7 +140,10 @@ _g_vfs_afc_volume_update_metadata (GVfsAfcVolume *self)
} while (retries++ < 10);
if (err != IDEVICE_E_SUCCESS)
- return 0;
+ {
+ g_debug ("Failed to initialise an idevice_t (%d)\n", err);
+ return 0;
+ }
if (self->service != NULL)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]