summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2013-11-19 14:03:46 +0100
committerGravatar Nikias Bassen2013-11-19 14:03:46 +0100
commit38e6975e2131b526d402c6f95cf4ba4acfbd997c (patch)
tree2860dea0cdc22db366227f44cad321b68b15fe7a
parent78a239bf2c64c9e37c21b2ddabbc0d76ec599afb (diff)
downloadidevicerestore-38e6975e2131b526d402c6f95cf4ba4acfbd997c.tar.gz
idevicerestore-38e6975e2131b526d402c6f95cf4ba4acfbd997c.tar.bz2
normal: fix missing return type
-rw-r--r--src/normal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/normal.c b/src/normal.c
index b7f0f45..64c6526 100644
--- a/src/normal.c
+++ b/src/normal.c
@@ -336,7 +336,7 @@ int normal_enter_recovery(struct idevicerestore_client_t* client) {
return 0;
}
-static normal_get_nonce_by_key(struct idevicerestore_client_t* client, const char* key, unsigned char** nonce, int* nonce_size) {
+static int normal_get_nonce_by_key(struct idevicerestore_client_t* client, const char* key, unsigned char** nonce, int* nonce_size) {
idevice_t device = NULL;
plist_t nonce_node = NULL;
lockdownd_client_t lockdown = NULL;