From 14bacd927e8621d723a3d67c49f43a0485c3eff4 Mon Sep 17 00:00:00 2001 From: Nikias Bassen Date: Thu, 29 Nov 2012 04:02:18 +0100 Subject: tools: mass replace 'device' with 'phone' variable names --- tools/ideviceinfo.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'tools/ideviceinfo.c') diff --git a/tools/ideviceinfo.c b/tools/ideviceinfo.c index 8635a48..c8d4cac 100644 --- a/tools/ideviceinfo.c +++ b/tools/ideviceinfo.c @@ -280,7 +280,7 @@ static void print_usage(int argc, char **argv) int main(int argc, char *argv[]) { lockdownd_client_t client = NULL; - idevice_t phone = NULL; + idevice_t device = NULL; idevice_error_t ret = IDEVICE_E_UNKNOWN_ERROR; int i; int simple = 0; @@ -347,7 +347,7 @@ int main(int argc, char *argv[]) } } - ret = idevice_new(&phone, udid); + ret = idevice_new(&device, udid); if (ret != IDEVICE_E_SUCCESS) { if (udid) { printf("No device found with udid %s, is it plugged in?\n", udid); @@ -358,9 +358,9 @@ int main(int argc, char *argv[]) } if (LOCKDOWN_E_SUCCESS != (simple ? - lockdownd_client_new(phone, &client, "ideviceinfo"): - lockdownd_client_new_with_handshake(phone, &client, "ideviceinfo"))) { - idevice_free(phone); + lockdownd_client_new(device, &client, "ideviceinfo"): + lockdownd_client_new_with_handshake(device, &client, "ideviceinfo"))) { + idevice_free(device); return -1; } @@ -394,7 +394,7 @@ int main(int argc, char *argv[]) if (domain != NULL) free(domain); lockdownd_client_free(client); - idevice_free(phone); + idevice_free(device); return 0; } -- cgit v1.1-32-gdbae