diff options
| author | 2009-01-02 09:56:18 -0800 | |
|---|---|---|
| committer | 2009-01-02 09:56:18 -0800 | |
| commit | 5cde55426112a8cb79d809dae5f61e347c007212 (patch) | |
| tree | f3e81756890373decc9395761f54a441fe774a09 | |
| parent | a1b4064de6e3f28d8d3e1e5e9acdda5aee0f6a36 (diff) | |
| download | libimobiledevice-5cde55426112a8cb79d809dae5f61e347c007212.tar.gz libimobiledevice-5cde55426112a8cb79d809dae5f61e347c007212.tar.bz2 | |
Fix indent issues.
| -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_ | |||
| 983 | iphone_error_t iphone_afc_truncate_file(iphone_afc_client_t client, iphone_afc_file_t file, uint32_t newsize) | 983 | iphone_error_t iphone_afc_truncate_file(iphone_afc_client_t client, iphone_afc_file_t file, uint32_t newsize) |
| 984 | { | 984 | { |
| 985 | char *buffer = (char *) malloc(sizeof(char) * 16); | 985 | char *buffer = (char *) malloc(sizeof(char) * 16); |
| 986 | int bytes = 0; | 986 | int bytes = 0; |
| 987 | uint32 zero = 0; | 987 | uint32 zero = 0; |
| 988 | 988 | ||
| 989 | afc_lock(client); | 989 | 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) | |||
| 256 | * | 256 | * |
| 257 | * @return IPHONE_E_SUCCESS on success. | 257 | * @return IPHONE_E_SUCCESS on success. |
| 258 | */ | 258 | */ |
| 259 | iphone_error_t lockdownd_generic_get_value(iphone_lckd_client_t control, const char *req_key, const char *req_string, char **value) | 259 | iphone_error_t lockdownd_generic_get_value(iphone_lckd_client_t control, const char *req_key, const char *req_string, |
| 260 | char **value) | ||
| 260 | { | 261 | { |
| 261 | if (!control || !req_key || !value || (value && *value)) | 262 | if (!control || !req_key || !value || (value && *value)) |
| 262 | return IPHONE_E_INVALID_ARG; | 263 | 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); | |||
| 44 | 44 | ||
| 45 | iphone_lckd_client_t new_lockdownd_client(iphone_device_t phone); | 45 | iphone_lckd_client_t new_lockdownd_client(iphone_device_t phone); |
| 46 | iphone_error_t lockdownd_hello(iphone_lckd_client_t control); | 46 | iphone_error_t lockdownd_hello(iphone_lckd_client_t control); |
| 47 | iphone_error_t lockdownd_generic_get_value(iphone_lckd_client_t control, const char *req_key, const char *req_string, char **value); | 47 | iphone_error_t lockdownd_generic_get_value(iphone_lckd_client_t control, const char *req_key, const char *req_string, |
| 48 | char **value); | ||
| 48 | iphone_error_t lockdownd_get_device_uid(iphone_lckd_client_t control, char **uid); | 49 | iphone_error_t lockdownd_get_device_uid(iphone_lckd_client_t control, char **uid); |
| 49 | iphone_error_t lockdownd_get_device_public_key(iphone_lckd_client_t control, char **public_key); | 50 | iphone_error_t lockdownd_get_device_public_key(iphone_lckd_client_t control, char **public_key); |
| 50 | 51 | ||
