diff options
-rw-r--r-- | src/AFC.c | 2 | ||||
-rw-r--r-- | src/lockdown.c | 3 | ||||
-rw-r--r-- | src/lockdown.h | 3 |
3 files changed, 5 insertions, 3 deletions
@@ -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); |