summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2017-12-07 16:37:49 +0700
committerGravatar Nikias Bassen2017-12-07 16:37:49 +0700
commit8ea69a6230dae2197815ed1e6f71757cf57a02e4 (patch)
tree18f8bb96b6dc8359320c159546b567c70f778712 /src
parent260f751a42997e9d72a18fccf4b4ea70c55ea2a6 (diff)
downloadlibideviceactivation-8ea69a6230dae2197815ed1e6f71757cf57a02e4.tar.gz
libideviceactivation-8ea69a6230dae2197815ed1e6f71757cf57a02e4.tar.bz2
activation: Return activation record as PLIST_DATA to keep it exactly as received from the activation server
Diffstat (limited to 'src')
-rw-r--r--src/activation.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/activation.c b/src/activation.c
index 0a56dc7..567e0da 100644
--- a/src/activation.c
+++ b/src/activation.c
@@ -170,7 +170,7 @@ static idevice_activation_error_t idevice_activation_activation_record_from_plis
response->is_activation_ack = 1;
}
}
- response->activation_record = plist_copy(plist);
+ response->activation_record = plist_new_data(response->raw_content, response->raw_content_size);
} else {
plist_t activation_node = plist_dict_get_item(plist, "iphone-activation");
if (!activation_node) {