diff options
author | Martin Szulecki | 2013-11-20 11:31:29 +0100 |
---|---|---|
committer | Martin Szulecki | 2013-11-20 11:41:42 +0100 |
commit | 4c39067fff12ee84e4941d727e7caeb669e5ca39 (patch) | |
tree | 3d10eb0a4610c1ceaffa6c1c2063ac1c1027d7d2 | |
parent | 43991a7a0d041b66c1ce7d6baf72e3e94b2ba77f (diff) | |
download | idevicerestore-4c39067fff12ee84e4941d727e7caeb669e5ca39.tar.gz idevicerestore-4c39067fff12ee84e4941d727e7caeb669e5ca39.tar.bz2 |
idevicerestore: Use better error message if adding tags to TSS request fails
-rw-r--r-- | src/idevicerestore.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/idevicerestore.c b/src/idevicerestore.c index 21aedfb..7463aab 100644 --- a/src/idevicerestore.c +++ b/src/idevicerestore.c @@ -1446,7 +1446,7 @@ int get_tss_response(struct idevicerestore_client_t* client, plist_t build_ident /* add tags from manifest */ if (tss_request_add_ap_tags_from_manifest(request, build_identity, NULL) < 0) { - error("ERROR: Unable to create TSS request\n"); + error("ERROR: Unable to add common tags to TSS request\n"); plist_free(request); plist_free(parameters); return -1; @@ -1455,7 +1455,7 @@ int get_tss_response(struct idevicerestore_client_t* client, plist_t build_ident if (client->image4supported) { /* add personalized parameters */ if (tss_request_add_ap_img4_tags(request, parameters) < 0) { - error("ERROR: Unable to create TSS request\n"); + error("ERROR: Unable to add img4 tags to TSS request\n"); plist_free(request); plist_free(parameters); return -1; @@ -1463,7 +1463,7 @@ int get_tss_response(struct idevicerestore_client_t* client, plist_t build_ident } else { /* add personalized parameters */ if (tss_request_add_ap_img3_tags(request, parameters) < 0) { - error("ERROR: Unable to create TSS request\n"); + error("ERROR: Unable to add img3 tags to TSS request\n"); plist_free(request); plist_free(parameters); return -1; |