summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Matt Colyer2009-01-02 09:56:18 -0800
committerGravatar Matt Colyer2009-01-02 09:56:18 -0800
commit5cde55426112a8cb79d809dae5f61e347c007212 (patch)
treef3e81756890373decc9395761f54a441fe774a09
parenta1b4064de6e3f28d8d3e1e5e9acdda5aee0f6a36 (diff)
downloadlibimobiledevice-5cde55426112a8cb79d809dae5f61e347c007212.tar.gz
libimobiledevice-5cde55426112a8cb79d809dae5f61e347c007212.tar.bz2
Fix indent issues.
-rw-r--r--src/AFC.c2
-rw-r--r--src/lockdown.c3
-rw-r--r--src/lockdown.h3
3 files changed, 5 insertions, 3 deletions
diff --git a/src/AFC.c b/src/AFC.c
index 0c43d0d..6027ed2 100644
--- a/src/AFC.c
+++ b/src/AFC.c
@@ -983,7 +983,7 @@ iphone_error_t iphone_afc_seek_file(iphone_afc_client_t client, iphone_afc_file_
iphone_error_t iphone_afc_truncate_file(iphone_afc_client_t client, iphone_afc_file_t file, uint32_t newsize)
{
char *buffer = (char *) malloc(sizeof(char) * 16);
- int bytes = 0;
+ int bytes = 0;
uint32 zero = 0;
afc_lock(client);
diff --git a/src/lockdown.c b/src/lockdown.c
index e0cbe78..cf0d99e 100644
--- a/src/lockdown.c
+++ b/src/lockdown.c
@@ -256,7 +256,8 @@ iphone_error_t lockdownd_hello(iphone_lckd_client_t control)
*
* @return IPHONE_E_SUCCESS on success.
*/
-iphone_error_t lockdownd_generic_get_value(iphone_lckd_client_t control, const char *req_key, const char *req_string, char **value)
+iphone_error_t lockdownd_generic_get_value(iphone_lckd_client_t control, const char *req_key, const char *req_string,
+ char **value)
{
if (!control || !req_key || !value || (value && *value))
return IPHONE_E_INVALID_ARG;
diff --git a/src/lockdown.h b/src/lockdown.h
index 012ac72..79ca37e 100644
--- a/src/lockdown.h
+++ b/src/lockdown.h
@@ -44,7 +44,8 @@ char *lockdownd_generate_hostid(void);
iphone_lckd_client_t new_lockdownd_client(iphone_device_t phone);
iphone_error_t lockdownd_hello(iphone_lckd_client_t control);
-iphone_error_t lockdownd_generic_get_value(iphone_lckd_client_t control, const char *req_key, const char *req_string, char **value);
+iphone_error_t lockdownd_generic_get_value(iphone_lckd_client_t control, const char *req_key, const char *req_string,
+ char **value);
iphone_error_t lockdownd_get_device_uid(iphone_lckd_client_t control, char **uid);
iphone_error_t lockdownd_get_device_public_key(iphone_lckd_client_t control, char **public_key);