summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2014-02-09 06:00:46 +0100
committerGravatar Nikias Bassen2014-02-09 06:00:46 +0100
commit0d7cc470c04386ffcf7b23a3f41eeda57357528b (patch)
tree2c675d9b15f2c8a28e64653f5d0f52b5766cbfda /src
parent87316dac37433852d112e964668e5f0fcf6ca8e6 (diff)
downloadidevicerestore-0d7cc470c04386ffcf7b23a3f41eeda57357528b.tar.gz
idevicerestore-0d7cc470c04386ffcf7b23a3f41eeda57357528b.tar.bz2
tss: make "ERROR: Unable to find %s entry in TSS response" debug messages and sound less harmful
Diffstat (limited to 'src')
-rw-r--r--src/tss.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/tss.c b/src/tss.c
index 57e38d8..818ce6e 100644
--- a/src/tss.c
+++ b/src/tss.c
@@ -773,7 +773,7 @@ static int tss_response_get_data_by_key(plist_t response, const char* name, unsi
plist_t node = plist_dict_get_item(response, name);
if (!node || plist_get_node_type(node) != PLIST_DATA) {
- error("ERROR: Unable to find %s entry in TSS response\n", name);
+ debug("DEBUG: %s: No entry '%s' in TSS response\n", __func__, name);
return -1;
}
@@ -811,7 +811,7 @@ int tss_response_get_path_by_entry(plist_t response, const char* entry, char** p
entry_node = plist_dict_get_item(response, entry);
if (!entry_node || plist_get_node_type(entry_node) != PLIST_DICT) {
- error("ERROR: Unable to find %s entry in TSS response\n", entry);
+ debug("DEBUG: %s: No entry '%s' in TSS response\n", __func__, entry);
return -1;
}
@@ -892,7 +892,7 @@ int tss_response_get_blob_by_entry(plist_t response, const char* entry, unsigned
tss_entry = plist_dict_get_item(response, entry);
if (!tss_entry || plist_get_node_type(tss_entry) != PLIST_DICT) {
- error("ERROR: Unable to find %s entry in TSS response\n", entry);
+ debug("DEBUG: %s: No entry '%s' in TSS response\n", __func__, entry);
return -1;
}