summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2013-11-19 22:07:53 +0100
committerGravatar Nikias Bassen2013-11-19 22:07:53 +0100
commit99d2bf14a08020a4b9b131321381893660a3bcb8 (patch)
tree0ab3755c904499d657ba0270e709aedab8903397
parent669ac822c564c5a6358daa7a49f6d0b336591558 (diff)
downloadidevicerestore-99d2bf14a08020a4b9b131321381893660a3bcb8.tar.gz
idevicerestore-99d2bf14a08020a4b9b131321381893660a3bcb8.tar.bz2
tss: add missing return type to tss_response_get_data_by_key()
-rw-r--r--src/tss.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tss.c b/src/tss.c
index 04f0d6d..3b0d478 100644
--- a/src/tss.c
+++ b/src/tss.c
@@ -580,7 +580,7 @@ plist_t tss_request_send(plist_t tss_request, const char* server_url_string) {
return tss_response;
}
-static tss_response_get_data_by_key(plist_t response, const char* name, unsigned char** buffer, unsigned int* length) {
+static int tss_response_get_data_by_key(plist_t response, const char* name, unsigned char** buffer, unsigned int* length) {
plist_t node = plist_dict_get_item(response, name);
if (!node || plist_get_node_type(node) != PLIST_DATA) {