diff options
| -rw-r--r-- | src/xplist.c | 4 |
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 @@ | |||
| 46 | #define XPLIST_DICT BAD_CAST("dict") | 46 | #define XPLIST_DICT BAD_CAST("dict") |
| 47 | 47 | ||
| 48 | static const char *plist_base = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n\ | 48 | static const char *plist_base = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n\ |
| 49 | <!DOCTYPE plist PUBLIC \"-//Apple Computer//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">\n\ | 49 | <!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">\n\ |
| 50 | <plist version=\"1.0\">\n\ | 50 | <plist version=\"1.0\">\n\ |
| 51 | </plist>\0"; | 51 | </plist>\0"; |
| 52 | 52 | ||
| @@ -174,7 +174,7 @@ static void node_to_xml(GNode * node, gpointer xml_struct) | |||
| 174 | if (node_data->length) | 174 | if (node_data->length) |
| 175 | { | 175 | { |
| 176 | valtmp = g_base64_encode(node_data->buff, node_data->length); | 176 | valtmp = g_base64_encode(node_data->buff, node_data->length); |
| 177 | val = format_string(valtmp, 60, xstruct->depth); | 177 | val = format_string(valtmp, 68, xstruct->depth); |
| 178 | g_free(valtmp); | 178 | g_free(valtmp); |
| 179 | } | 179 | } |
| 180 | break; | 180 | break; |
