summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Dogbert2010-08-23 08:41:49 +0200
committerGravatar Jonathan Beck2010-08-23 08:41:49 +0200
commit9ed6e05b5578a6eb83c593249153b1b5ac7bc780 (patch)
treeae97df249221b51f384eabae0d86fb68c59f2d4b
parentbd6ce8830f699f890e20faa4c16e24106ee59506 (diff)
downloadlibplist-9ed6e05b5578a6eb83c593249153b1b5ac7bc780.tar.gz
libplist-9ed6e05b5578a6eb83c593249153b1b5ac7bc780.tar.bz2
Fixes the xml export.
Apple's activation server refuses XML tickets when this patch isn't applied.
-rw-r--r--src/xplist.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/xplist.c b/src/xplist.c
index c7d9cfb..1319f56 100644
--- a/src/xplist.c
+++ b/src/xplist.c
@@ -46,7 +46,7 @@
#define XPLIST_DICT BAD_CAST("dict")
static const char *plist_base = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n\
-<!DOCTYPE plist PUBLIC \"-//Apple Computer//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">\n\
+<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">\n\
<plist version=\"1.0\">\n\
</plist>\0";
@@ -174,7 +174,7 @@ static void node_to_xml(GNode * node, gpointer xml_struct)
if (node_data->length)
{
valtmp = g_base64_encode(node_data->buff, node_data->length);
- val = format_string(valtmp, 60, xstruct->depth);
+ val = format_string(valtmp, 68, xstruct->depth);
g_free(valtmp);
}
break;