Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
L
libplist
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
pwn
libplist
Commits
9ed6e05b
Commit
9ed6e05b
authored
Aug 23, 2010
by
Dogbert
Committed by
Jonathan Beck
Aug 23, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixes the xml export.
Apple's activation server refuses XML tickets when this patch isn't applied.
parent
bd6ce883
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
xplist.c
src/xplist.c
+2
-2
No files found.
src/xplist.c
View file @
9ed6e05b
...
...
@@ -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
,
6
0
,
xstruct
->
depth
);
val
=
format_string
(
valtmp
,
6
8
,
xstruct
->
depth
);
g_free
(
valtmp
);
}
break
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment