summaryrefslogtreecommitdiffstats
path: root/src/device.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/device.c')
-rw-r--r--src/device.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/device.c b/src/device.c
index 9cfd667..bf2f2a2 100644
--- a/src/device.c
+++ b/src/device.c
@@ -54,6 +54,8 @@ sbservices_client_t device_sbs_new(const char *uuid, GError **error)
lockdownd_client_t client = NULL;
uint16_t port = 0;
+ printf("%s: %s\n", __func__, uuid);
+
g_mutex_lock(libiphone_mutex);
if (IPHONE_E_SUCCESS != iphone_device_new(&phone, uuid)) {
if (error)
@@ -208,10 +210,14 @@ gboolean device_get_info(const char *uuid, device_info_t *device_info, GError **
lockdownd_client_t client = NULL;
gboolean res = FALSE;
+ printf("%s: %s\n", __func__, uuid);
+
if (!device_info) {
return res;
}
+ printf("%s\n", __func__);
+
g_mutex_lock(libiphone_mutex);
if (IPHONE_E_SUCCESS != iphone_device_new(&phone, uuid)) {
*error = g_error_new(device_domain, ENODEV, _("No device found, is it plugged in?"));